Posted on: 11/28/2014 9:21:37 AM | Views : 453

I have created a usercontrol to turn text or images into links that open a popup window set how required. The .ascx page for the usercontrol contains an imagebutton and a hyperlink - both are hidden and the relevant on is shown according to params when instantiating the control.
the issue is that, once I click on the usercontrol, if it is an imagebutton, then all other normal imagebuttons on the page change to use the same URL as the usercontrol!! I have no idea why!
here is the code:
instantiation:
<wilts:PopUprunat="server"ID="ucPermissonsPopUp"PopUpTypeEnum="PermissionsPage"SystemEnum="iPerform"ImageURL="~/images/but_info_vsml.gif"LinkText="Show Administrators"/>
ascx page: < asp:HyperLinkrunat="server"ID="hypPopUp"EnableViewState="true"Visible="false"/> < asp:ImageButtonrunat="server"ID="ibPop ...

Go to the complete details ...