need a msg popup in C#,asp.net

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hello12356789
    New Member
    • Nov 2008
    • 5

    need a msg popup in C#,asp.net

    i m using the update panel.
    i wan to displya the msg in the screen that the database id already exist.
    i m trying

    Response.Write( "<script>window .alert('Data with the Same id already exists');</script>");
    but is in not working
    is there any control in ajax to do it or which is the alrenative way to do this task
  • nateraaaa
    Recognized Expert Contributor
    • May 2007
    • 664

    #2
    The Response.Write statement looks correct. Have you used the debugger to verify that the Response.Write is being reached in your code path?

    Nathan

    Comment

    Working...