1
Vote

HoverMenuExtender is not compatible with AjaxData:DataList

description

I have found a problem using the HoverMenuExtender with the DataList of the library Ajax Data Controls.
 
When I Call the findControl function on the datalist, I will receive the exception "The page cannot be null". Removing the hovermenuextender, the problem disappear and all return to work properly
 
I use this code for the hover menu extender:
<ajaxToolkit:HoverMenuExtender ID="hme2" runat="Server"
                    TargetControlID="DataList1"
                    PopupControlID="PopupMenu"
                    HoverCssClass="popupHover"
                    PopupPosition="Left"
                    OffsetX="5"
                    OffsetY="20"
                    PopDelay="40" />
 
<asp:Panel CssClass="popupMenu" ID="PopupMenu" runat="server">
<input id="btnEdit" type="button" value="Edit" commandName="edit" /><br />
<input id="btnDelete" type="button" value="Delete" commandName="delete" />
</asp:Panel>

comments