Hi,
I am just wondering is it possible to show WebDataTree in WebDropDown? If not possible, please let me know other alternate method to accomplish the same. Also, send me sample code, if possible.
Thanks,
Hi there,
It is absolutely possible to put a WebDataTree inside a WebDropDown and it is done using the ItemTemplates:
<ig:WebDropDown ID="WebDropDown1" runat="server"> <Items> <ig:DropDownItem TemplateId="TmpID"></ig:DropDownItem> </Items> <Templates> <ig:ItemTemplate TemplateID="TmpID"> <Template> <ig:WebDataTree ID="WebDataTree1" runat="server"> </ig:WebDataTree> </Template> </ig:ItemTemplate> </Templates> </ig:WebDropDown>
Try this out yourself and let me know if you have any more questions.
I did not give it a try but I think it works...let u know if I find any problem !! Thanks for ur reply
You are very welcome!