PopupControlExtender of AjaxControlToolkit nog working in FixedHeader
PopupControlExtender of AjaxControlToolkit nog working in FixedHeader
I want to use the fixedheader plugin in a table where in the header of the table a PopupControlExtender of the AjaxControlToolkit is being used. When an image is being clicked, a popup should be shown. It works fine when I don't use the fixed header plugin, but when I use the fixedheader plugin, the popup won't be shown when the image has been clicked. The fixed header itself is working fine. The header stays fixed at the top when scrolling down the contents of the table.
This is de markup that's being put in a header cell of the table.
<thead>
<tr>
<th>
Some text <asp:Image runat="server" ID="imgPopupInfo" ImageUrl="../images/symbol help.gif" Width="13px" Height="13px"
CssClass="help"/>
<asp:Panel runat="server" ID="pnlPopupInfo" CssClass="panel_popup" Wrap="true" style="text-align:left;">
<asp:Label runat="server" ID="lblPopupInfo" Text="Popup text"></asp:Label></asp:Panel>
<asp:PopupControlExtender ID="popupInfo" runat="server" PopupControlID="pnlPopupInfo"
TargetControlID="imgPopupInfo" Position="Right">
</asp:PopupControlExtender>
</th>
</tr>
</thead>
link to the web page:
https://test.kwaliteitscholen.nl/kwaliteitscholen/net/Test_Table.aspx
The first table is using the fixedheader and the second isn't.
In the first table the popup is not being shown and in the second it is.
Is there a way to get this working?
Answers
So the issue here is that FixedHeader is using a clone of the original. You could possible attach a new listener to the cloned element, but must better would be to try out v3 of FixedHeader which should be released next week.
Allan