Jan 14, 2013, 9:26 PM
[CLOSED] Using an ascx user-defined control inside a menu button.
First, here's my little snippet of code:
The problem is, after the user selects an item in the combo box, the list is destroyed on the page and when the eventhandler for the control is called, the selecteditem is always null or empty.
Am I missing something in the way that controls can be used within menu buttons?
Any help is greatly appreciated.
Rick
<ext:Button ID="QuickLaunchReport" runat="server" ToolTip="Report Quick Launch" IconCls="icon-report_new">
<Menu>
<ext:Menu ID="QuickLaunchReportMenu" runat="server">
<Content>
<uc:QuickSearch ID="QuickSearch" runat="server" />
</Content>
</ext:Menu>
</Menu>
</ext:Button>
As you can see, I've placed an ascx control inside a menu button. This control contains a combo box which allows the user to select from a list of items.The problem is, after the user selects an item in the combo box, the list is destroyed on the page and when the eventhandler for the control is called, the selecteditem is always null or empty.
Am I missing something in the way that controls can be used within menu buttons?
Any help is greatly appreciated.
Rick
Last edited by Baidaly; Jan 16, 2013 at 1:18 AM.
Reason: [CLOSED]