Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 17, 2012 02:43 AM by Allen Li - MSFT
0 Points
2 Posts
Apr 15, 2012 04:23 PM|LINK
how can a pop up for registration and sign up be enabled in vb 2005.when the pop up is visible, rest of the site should be disabled .
All-Star
16797 Points
2608 Posts
MVP
Apr 15, 2012 05:07 PM|LINK
Look at the ajax toolkits modal popup extender
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/ModalPopup/ModalPopup.aspx
Apr 15, 2012 05:09 PM|LINK
Apr 16, 2012 06:52 AM|LINK
i want to add this capability to a control such that users can register and sign in via a pop up...how can i do it in coding
Star
10411 Points
1196 Posts
Apr 17, 2012 02:43 AM|LINK
Hi, you can try jQuery dialog, for example:
<html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script> <style type="text/css"> #dialog { background-color: Gray; } </style> <script type="text/javascript"> $(function () { $('#dialog').dialog({ autoOpen: false, modal: true }); $('#Button1').click(function () { $("#dialog").dialog("open"); }); }); </script> </head> <body> <form id="form1" runat="server"> <div> </div> <input id="Button1" type="button" value="Login" /> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <div id="dialog" title="Please Login"> <asp:Login ID="login" runat="server" CreateUserText="Click here to register" CreateUserUrl="~/register.aspx" /> </div> </form> </body> </html>
For more details about jQuery dialog, you can refer to the following link:
http://jqueryui.com/demos/dialog/
omar.umi
0 Points
2 Posts
pop ups in vb 2005
Apr 15, 2012 04:23 PM|LINK
how can a pop up for registration and sign up be enabled in vb 2005.when the pop up is visible, rest of the site should be disabled .
Ken Tucker
All-Star
16797 Points
2608 Posts
MVP
Re: pop ups in vb 2005
Apr 15, 2012 05:07 PM|LINK
Look at the ajax toolkits modal popup extender
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/ModalPopup/ModalPopup.aspx
Space Coast .Net User Group
Ken Tucker
All-Star
16797 Points
2608 Posts
MVP
Re: pop ups in vb 2005
Apr 15, 2012 05:09 PM|LINK
Look at the ajax toolkits modal popup extender
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/ModalPopup/ModalPopup.aspx
Space Coast .Net User Group
omar.umi
0 Points
2 Posts
Re: pop ups in vb 2005
Apr 16, 2012 06:52 AM|LINK
i want to add this capability to a control such that users can register and sign in via a pop up...how can i do it in coding
Allen Li - M...
Star
10411 Points
1196 Posts
Re: pop ups in vb 2005
Apr 17, 2012 02:43 AM|LINK
Hi, you can try jQuery dialog, for example:
<html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script> <style type="text/css"> #dialog { background-color: Gray; } </style> <script type="text/javascript"> $(function () { $('#dialog').dialog({ autoOpen: false, modal: true }); $('#Button1').click(function () { $("#dialog").dialog("open"); }); }); </script> </head> <body> <form id="form1" runat="server"> <div> </div> <input id="Button1" type="button" value="Login" /> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <div id="dialog" title="Please Login"> <asp:Login ID="login" runat="server" CreateUserText="Click here to register" CreateUserUrl="~/register.aspx" /> </div> </form> </body> </html>For more details about jQuery dialog, you can refer to the following link:
http://jqueryui.com/demos/dialog/
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework