单项选择题
A.Replace the GridView control with a ListView control.
B.Set the ClientIDMode attribute to Predictable in the web.config file.
C.Set the ClientIDRowSuffix attribute of each unique GridView control to a different value.
D.Set the @ OutputCache directives VaryByControl attribute to the ID of the GridView control.
单项选择题 YouareimplementinganASP.NETWebsitethatwillbeaccessedbyaninternationalaudience.Thesitecontainsglobalandlocalresourcesfordisplayelementsthatmustbetranslatedintothelanguagethatisselectedbytheuser.YouneedtoensurethattheLabelcontrolnamedlblCompanydisplaystextintheusersselectedlanguagefromtheglobalresourcefile.Whichcontrolmarkupshouldyouuse?()
单项选择题 YouhavecreatedanASP.NETservercontrolnamedShoppingCartforusebyotherdevelopers.SomedevelopersreportthattheShoppingCartcontroldoesnotfunctionproperlywithViewStatedisabled.YouwanttoensurethatallinstancesoftheShoppingCartcontrolworkevenifViewStateisdisabled.Whatshouldyoudo?()
单项选择题 YouarecreatinganASP.NETWebsite.ThesitehasamasterpagenamedCustom.master.Thecode-behindfileforCustom.mastercontainsthefollowingcodesegment.PartialPublicClassCustomInheritsSystem.Web.UI.MasterPagePublicPropertyRegionAsStringProtectedSubPage_Load(ByValsenderAsObject,ByValeAsSystem.EventArgs)HandlesMe.LoadEndSubEndClassYoucreateanewASP.NETpageandspecifyCustom.masterasitsmasterpage.YouaddaLabelcontrolnamedlblRegiontothenewpage.YouneedtodisplaythevalueofthemasterpagesRegionpropertyinlblRegion.Whatshouldyoudo?()