we can able to display a MessageBox in asp .net without
using any script langages?

Answers were Sorted based on User's Feedback



we can able to display a MessageBox in asp .net without using any script langages?..

Answer / sandeep

validation summary control

Is This Answer Correct ?    27 Yes 4 No

we can able to display a MessageBox in asp .net without using any script langages?..

Answer / lakshmikanth

yes we can add first click on add reference and

add "system.windows.froms" dll in windows which pops up

then start using

System.windows.forms.messagebox.show("i love
india","Lakshmikanth");

Is This Answer Correct ?    20 Yes 7 No

we can able to display a MessageBox in asp .net without using any script langages?..

Answer / ananthu

Yes . use vb.net has Messagebox

Is This Answer Correct ?    13 Yes 7 No

we can able to display a MessageBox in asp .net without using any script langages?..

Answer / karan munjal

No, We can't able to display a msgbox in asp.nt

Is This Answer Correct ?    16 Yes 12 No

we can able to display a MessageBox in asp .net without using any script langages?..

Answer / ajit

using system.Text;(namespace)
and applying following code
string myStringVariable = string.Empty;

myStringVariable = "Welcome";



ClientScript.RegisterStartupScript(this.GetType(),
"myalert", "alert('" + myStringVariable + "');", true);

on button click...

Is This Answer Correct ?    1 Yes 0 No

we can able to display a MessageBox in asp .net without using any script langages?..

Answer / rathika.k

using System;
using System.Runtime.InteropServices;

namespace ExternKey
{
class Class1
{
[DllImport("User32.dll")]
public static extern int MessageBox(int h,
string m, string c,int type);
static void Main(string[] args)
{
string mystring;
Console.Write("Enter Your
Message : ");
mystring = Console.ReadLine();
MessageBox(0,mystring,"Message",0);
}
}
}

Try like this. It will workout without using any Script
Language.

Is This Answer Correct ?    1 Yes 1 No

we can able to display a MessageBox in asp .net without using any script langages?..

Answer / raks

No, We can't able to display a msgbox in asp.net..

Is This Answer Correct ?    1 Yes 1 No

we can able to display a MessageBox in asp .net without using any script langages?..

Answer / mohit jethva

by using DLLImport(USER32.dll)
you can use msgbox in .net

Is This Answer Correct ?    7 Yes 9 No

Post New Answer

More ASP.NET Interview Questions

Why should i prefer JSP over asp.net or any other web development language..??

0 Answers  


Describe the difference between a Thread and a Process?

4 Answers  


Difference between web user control and web custom control?

0 Answers  


What is Assembly?

3 Answers   Inspira Technologies,


Explain the main differences between asp and asp.net?

0 Answers  


Which platform does Microsoft .NET use for exchanging data between applications?

0 Answers  


What r the asp.net list controls and diff. Between them?

0 Answers  


What is the main function of razor in asp.net? : asp.net mvc

1 Answers  


The question is "After sign out from email, Then we click a back button , we can't go to the previous page ie inbox page, It is displaying a login form only" My doubt is How will code this , If u know please blog me through this or my mail. my mail id is yoursguna@gmail.com

3 Answers   TCS,


what are the oops concepts are used in your project?

1 Answers   AppShark, IBM, Kotak,


How can you dynamically add user controls to a page?

0 Answers  


what is .net

15 Answers   Net Solution,


Categories