black

MCTS(70-515)

登录

单项选择题

You are implementing an ASP.NET page in an e-commerce application. Code in abtnAddToCart_Click event handler adds a product to the shopping cart. The page should check the status of the shopping cart and always show a cart icon when one or more items are in the shopping cart. The page should hide the icon when the shopping cart has no items. You need to add an event handler to implement this requirement. Which event handler should you add?()

A.btnAddToCart_Click
B.Page_Load
C.Page_PreRender
D.Page_PreInit

相关考题

单项选择题 YouareimplementinganASP.NETWebsitethatwillbeaccessedbyaninternationalaudience.Thesitecontainsglobalandlocalresourcesfordisplayelementsthatmustbetranslatedintothelanguagethatisselectedbytheuser.YouneedtoensurethattheLabelcontrolnamedlblCompanydisplaystextintheuser’sselectedlanguagefromtheglobalresourcefile.Whichcontrolmarkupshouldyouuse?()

单项选择题 YouaretestinganexistingASP.NETpage.Thepageincludesatextbox.YouareabletoexecutemaliciousJavaScriptcodebytypingitinthetextboxandsubmitting.YouneedtoconfigurethepagetopreventJavaScriptcodefrombeingsubmittedbythetextbox.Inthe@Pagedirective,whichattributeshouldyousettotrue?()

单项选择题 You are implementing an ASP.NET MVC 2 Web application that contains the following class. You create a strongly typed view that displays details for a Department instance. You want the view to also include a listing of department employees. You need to write a code segment that will call the ListEmployees action method and output the results in place. Which code segment should you use?()

All Rights Reserved 版权所有©PP题库网库(pptiku.com)

备案号:湘ICP备14005140号-5

经营许可证号:湘B2-20140064