I have a .net page.
From code behind I am calling some jquery dialog boxes like:
My dialog boxes appear but they all appear one after the other. How do I solve this
Here is my dialog box code:
From code behind I am calling some jquery dialog boxes like:
Code:
If A = B Then
ScriptManager.RegisterClientScriptBlock(Me, [GetType](), "A", "success();", True)
Else
ScriptManager.RegisterClientScriptBlock(Me, [GetType](), "B", "invalidclientcode();", True)
End If
My dialog boxes appear but they all appear one after the other. How do I solve this
Here is my dialog box code:
Code:
<div id="dialog-sucessmessage" title="Message saved">
<p>
<span class="ui-icon ui-icon-circle-check" style="float:left; margin:0 7px 50px 0;"></span>
Your message has been saved
</p>
</div>
<div id="dialog-invalidclientcode" title="Invalid Client Code">
<p>
<span class="ui-icon ui-icon-circle-check" style="float:left; margin:0 7px 50px 0;"></span>
Invalid Client Code retrieved. Only certain client codes are allowed.
</p>
</div>