Hi All,
Please help me to assign ContenTemplate property to normal asp:TextBox Control.
I have the code like below.
AjaxControlToolkit.TabContainer tab = new AjaxControlToolkit.TabContainer();
tab.ID = "Tabs" + i;
tab.Height = 200;
tab.OnClientActiveTabChanged += TabContainer1_ActiveTabChanged; var tabContent = LoadControl("~/TabContentTemplateTest.ascx") as TabContentTemplateTest;
tab.ContentTemplate=tabContent;What I want is I want to assign normal asp : TextBox control to var tabContent.
I dont know the syntax for it .I tried many ways but no luck.
Please Help it will solve my problem.
I want to do something like below.
var tabContent = LoadControl("TextBox1") as TextBox;please Help,
Regards,
Jayesh(From India,Mumbai)