Code Enough...
TabContainer myTabContainer=(TabContainer)this.Parent.Parent.FindControl("TabContainer1");
myTabContainer.ActiveTabIndex=4;
User Control Level
System.Web.UI.UserControl myASCX = new System.Web.UI.UserControl();
myASCX = (System.Web.UI.UserControl)this.Parent.FindControl("A1");
TextBox myTextBox;
myTextBox = (TextBox)myASCX.FindControl("TextBox1");
1 comment:
你的博客是技术网站么?
Post a Comment