Hi there,
I've got a WebDataMenu setup (moving over from ultrawebtoolbar), and I'm having some issues accessing a control (a DropDown List) in my template. My template is defined like this
<ig:ItemTemplate ID="tpDropDown" runat="server" TemplateID="tpDropDown"> <Template> <asp:DropDownList AutoPostBack="true" ID="ddlTBAddNew" runat="server"> <asp:ListItem Value="" Text="Actions.." /> </asp:DropDownList> </Template> </ig:ItemTemplate>
But No matter what I try server-side I cannot acess that ddlTBAddNew
I can get as far as the Template control using mymenu.Templates[0].Template but within that there's no .Controls collection, no .FindControl or any way I can see to access my DropDownList. So how do we access controls in a template please? Calling .FindControl at the Templates[0] level doesn't return anything at all. So I'm at a loss as to what to try next?
If you expect people to upgrade to this control from ultrawebtoolbar, the least you could do is provide some examples & documentation on how to do so!
Thanks in advance
Hi bartond31,
This is an initial update to let you know that I am looking into your inquiry. I will follow-up with you on this issue, on or before Monday.
Thanks!
Take a look at the following post: http://es.infragistics.com/community/forums/t/64134.aspx?PageIndex=1
The referenced thread goes through a few posts. The "answer" id provided by Micheal with the post on Jan 13. Also provided is an example attached to the thread.
Please let me know if you need any additional assistance.