I am using the ASP.NET AJAX Toolkit form http://asp.net/ajax
It has something called ModalPopupExtender 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 "TargetControlID" attribute.
Expand|Select|Wrap|Line Numbers
- <ajaxToolkit:ModalPopupExtender ID="MPE" runat="server"
- TargetControlID="LinkButton1"
- 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.