Start New Discussion within our Web Development Community


I am trying to open the Jquery Dialog box using VB.NET.
After the data has been saved successfully, I need the dialog box to show up with the message to the user. Also allow user to perform some other actions like clicking the buttons.
If I call the same codes from the client sides, like onclick="", it is working fine.

However, It does not open from the server codes:

ScriptManager.RegisterStartupScript(Me, Me.GetType(), "Message", "<script type='text/javascript'>$('#dialog1').dialog('open');</script>", False)

Any ideas of what i've done wrong!