Rudebox.co.nr How To Forums

Rudebox How To Forums - Ask Anything, View How To's
 
HomeFAQSearchRegisterMemberlistUsergroupsLog in
Share | 
 

 How to Create a Message Box in ASP .net

View previous topic View next topic Go down 
AuthorMessage
Admin
Admin


Number of posts: 216
Registration date: 2007-01-01

PostSubject: How to Create a Message Box in ASP .net   Mon Oct 29, 2007 8:19 pm

How to create a message box, msgbox, alert box, confirmation box in asp.net

Source: http://www.codeproject.com/aspnet/NingLiangSimpleControl.asp

Download:
Demo - http://www.codeproject.com/aspnet/NingLiangSimpleControl/Control_demo.zip

DLL / Control:
Add reference to the DLL in your Website Project
http://www.codeproject.com/aspnet/NingLiangSimpleControl/Control_src.zip


After Reference been added, you can call it like the below example

In your aspx page:

Click Here to View Code

In Your Code Behind : Example on Button Click

Code:

private void Button1_Click(object sender, System.EventArgs e)
{
  //for the page with only one form
  if(TextBox1.Text!=null && TextBox1.Text!="")
    MsgBox1.alert("Please input something in the text box.");
  else
    MsgBox1.confirm("Hello "+ TextBox1.Text +
          "! do you want to continue?", "hid_f");
}
Back to top Go down
View user profile http://rudebox.editboard.com
 

How to Create a Message Box in ASP .net

View previous topic View next topic Back to top 
Page 1 of 1

 Similar topics

-
» Create your PlanetSide 2 signature!
» Welcome Message
» Message for the Flying Scotsman !!!
» V.I.P. Membership {Read Message}
» ShoutBox Membership

Permissions in this forum:You cannot reply to topics in this forum
Rudebox.co.nr How To Forums ::  :: -