Popup window

Posted by Vijaybhaskarchalla under ASP.NET on 9/6/2007 | Views : 2112 | Status : [Member] | Replies : 3
When we click on Button It has to show Popup window using ASP.NET AJAX.

It should be similar to when we click on Login link in this website it is displaying popup by asking username and password. Can any one give sample example similar to that one.




Responses

Posted by: Varung on: 12/5/2011 [Member] Starter | Points: 25

Up
0
Down
<ajaxToolkit:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="buttonId" PopupControlID="panel to pop"> <ajaxToolkit:ModalPopupExtender>

G.Varun

Vijaybhaskarchalla, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Raja on: 9/7/2007 [Member] Starter

Up
0
Down
Hey Vijay,

I am not sure but i think its easy man.

Just make a usercontrol, put insite the panel and on click event of the button make is visible or not visible.

You may need to make the display property of the panel through css file as absolute so that it will appear above the contents.

Just try it in simple page, i think it is possible easily.

Thanks
Raja

Regards,
Raja, USA

Vijaybhaskarchalla, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bravi on: 1/19/2008 [Member] Starter

Up
0
Down
Hi vijay,

Take one panle in that wht u want to show in pupup design
and take modelpopupcontrol from ajax...in this target controlID="btnid" popupcontrolID="PanelId" i hope this will slove ur problem enjoy with coding.

Vijaybhaskarchalla, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response