we can able to display a MessageBox in asp .net without
using any script langages?
Answers were Sorted based on User's Feedback
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 |
Answer / karan munjal
No, We can't able to display a msgbox in asp.nt
Is This Answer Correct ? | 16 Yes | 12 No |
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 |
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 |
Answer / raks
No, We can't able to display a msgbox in asp.net..
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / mohit jethva
by using DLLImport(USER32.dll)
you can use msgbox in .net
Is This Answer Correct ? | 7 Yes | 9 No |
Why should i prefer JSP over asp.net or any other web development language..??
Describe the difference between a Thread and a Process?
Difference between web user control and web custom control?
What is Assembly?
3 Answers Inspira Technologies,
Explain the main differences between asp and asp.net?
Which platform does Microsoft .NET use for exchanging data between applications?
What r the asp.net list controls and diff. Between them?
What is the main function of razor in asp.net? : asp.net mvc
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
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?
what is .net