MessageBox in Asp.net(C#)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Limno
    New Member
    • Apr 2008
    • 92

    MessageBox in Asp.net(C#)

    Hi

    I m using this code to display messagebox in Asp.net

    Code:
    ClientScript.RegisterStartupScript(this.GetType(), "msg", "alert('Date Already Allocated');", true);
    But it shows only OK button, i need two options ie. Yes or No.

    How i can do this by using ClientScript. is there any options to do this message as i want.

    Reply me.
    Limno
    Last edited by DrBunchman; Jun 4 '08, 09:10 AM. Reason: Added code tags - Please use the # button
  • CyberSoftHari
    Recognized Expert Contributor
    • Sep 2007
    • 488

    #2
    I think this link will help you

    Server side Message box in ASP.Net

    Comment

    Working...