Hi all,
I am using the ASP.NET AJAX Toolkit form http://asp.net/ajax
It has something called ModalPopupExten der to create a popup. You can view the live demo at http://asp.net/AJAX/Control-Toolkit/...odalPopup.aspx
This extender takes the ID of a control as the value of the "TargetControlI D" attribute.
In the above code snippet the LinkButton1 is the control that will activate the popup.
Now my problem is that I want the popup to be fired not only when a particular control is clicked but when any one of a set of controls is clicked.
Say I have five linkButtons. then the popup must be fired every time any one of them is clicked.
What can be done to extend this functionality.
Many Thanks.
I am using the ASP.NET AJAX Toolkit form http://asp.net/ajax
It has something called ModalPopupExten der to create a popup. You can view the live demo at http://asp.net/AJAX/Control-Toolkit/...odalPopup.aspx
This extender takes the ID of a control as the value of the "TargetControlI D" attribute.
Code:
<ajaxToolkit:ModalPopupExtender ID="MPE" runat="server"
[B] TargetControlID="LinkButton1"[/B]
PopupControlID="Panel1"
BackgroundCssClass="modalBackground"
DropShadow="true"
OkControlID="OkButton"
OnOkScript="onOk()"
CancelControlID="CancelButton" />
In the above code snippet the LinkButton1 is the control that will activate the popup.
Now my problem is that I want the popup to be fired not only when a particular control is clicked but when any one of a set of controls is clicked.
Say I have five linkButtons. then the popup must be fired every time any one of them is clicked.
What can be done to extend this functionality.
Many Thanks.
Comment