Rudebox.co.nr How To Forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Rudebox.co.nr How To Forums

Rudebox How To Forums - Ask Anything, View How To's
 
HomeSearchLatest imagesRegisterLog in

 

 How to Create a Message Box in ASP .net

Go down 
AuthorMessage
Admin
Admin
Admin


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

How to Create a Message Box in ASP .net Empty
PostSubject: How to Create a Message Box in ASP .net   How to Create a Message Box in ASP .net Icon_minitimeMon 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
https://rudebox.editboard.com
 
How to Create a Message Box in ASP .net
Back to top 
Page 1 of 1
 Similar topics
-
» How To Create A Podcast
» Create Pop Up Alert Box , Modal Dialog Extender in ASP.net
» How To Create / Configure VLANs
» How to create a Flash Video (.flv format)
» How to Create host a Mp3 Player with XML Playlist on Website

Permissions in this forum:You cannot reply to topics in this forum
Rudebox.co.nr How To Forums :: How To - Myspace / Website /Blog Utilities :: ASP .net-
Jump to: