此试题出现在
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You create two user controls named UserCtrlA.ascx and UserCtrlB.ascx. The user controls postback to the server. You create a new Web page that has the following ASPX code: To dynamically create the user controls, you write the following code segment for the Web page: public void LoadControls() { if (ViewState["CtrlA"] != null) { Control c; if ((bool)ViewState["CtrlA"] == true) { c = LoadControl("UserCtrlA.ascx"); } else { c = LoadControl("UserCtrlB.ascx"); } c.ID = "Ctrl"; PlHolder.Controls.Add(c); } } protected void Chk_CheckedChanged(object sender, EventArgs e) { ViewState["CtrlA"] = Chk.Checked; PlHolder.Controls.Clear(); LoadControls(); } You need to ensure that the user control that is displayed meets the following requirements: It is recreated during postback It retains its state. Which method should you add to the Web page?()
长途明线线路钢筋混凝土杆路的大修周期一般为()。
寄生虫区系的季节变化不可用下列哪种曲线进行表示?( )
一批货物的保险金额为80000美元,货物运输中遭受承保责任范围内的损失后只能按六折出售,货物在目的地的完好价值为100000美元,保险公司应赔款()。
请从所给的四个选项中,选择最合适的一个填入问号处,使之呈现一定的规律性:
听证按照()程序进行。
由大承气汤化裁为小承气汤属于()
陆上运输货物险的保险责任在被保险货物未被运抵保单载明的目的地仓库时,以( )满60天为止。
在所有球类项目比赛中,对比赛双方运动员的服装颜色要求应有明显的区别
一座50m高的综合楼,设置的湿式系统。作有吊顶,应采用()喷头。
暂无相关推荐~