Which actions should you perform?
You are developing an ASP.NET Web page named WebPage.aspx.
The page includes a user control named UserInfoControl.ascx
You need to expose a control property named FirstName and read its value from the page.
Which actions should you perform? (Each correct answer presents part of the solution. Choose two.)
Which attribute should you add to the OutputChace directive?
You are developing an ASP.NET Web application.
The application will contain a page that is customize for virous browsers. The application will use output caching to optimize performance.
You need to ensure that the page is cached by browser type and major version only.
Which attribute should you add to the OutputChace directive?
Which configuration should you add to the web.config file?
You are implementing an ASP.NET Web site that uses a custom server control named Task. Task is defined as shown in the following list.
Class name: Task
Namespace: DevControls
Assembly: TestServerControl.dll
Base class: System.Web.UI.WebControls.WebControl
You copy TestServerControl.dll to the Web sites Bin folder.
You need to allow the Task control to be declaratively used on site pages that do not contain an explicit @ Register directive.
Which configuration should you add to the web.config file?
How to change the image of an image control place in each row in a gridview?
Gridview: How to change the image of an image control place in each row in a gridview:
Which FormView property should you set in the code-behind file?
You are developing an ASP.NET Web page.
The page includes a List<Product> instance.
You add a FormView control to display a single Product from this list.
You need to bind the list to the FormView control.
Which FormView property should you set in the code-behind file?
What should you set the ClientIDMode property of the DropDownList to?
You are developing an ASP.NET Web page.
You add a data-bound GridView control.
The GridView contains a TemplateField that includes a DropDownList.
You set the GridViews ClientIDMode property to Static, and you set the ClientIDRowSuffix property to ProductID.
You need to be able to reference individual DropDownList controls from client-side script by using the ProductID.
What should you set the ClientIDMode property of the DropDownList to?
What should you do?
You are creating an ASP.NET Web application.
The application must call a WCF service by using a WCF routing service.
You need to ensure that the application can invoke the target service by using the router endpoint.
What should you do?
Which interface should you add the extension method to?
You are developing an ASP.NET Web page that will display the median value from a sequence of integer values.
You need to create an extension method to compute the median value.
Which interface should you add the extension method to?
Which code segment should you use?
You are developing an ASP.NET MVC 2 application.
A view contains a form that allows users to submit their first name.
You need to display the value that is submitted, and you must ensure that your code avoids cross-site scripting.
Which code segment should you use?
Which ActionLink should you use?
You are developing an ASP.NET MVC 2 Web application.
The application contains a controller named HomeController, which has an action named Index.
The application also contains a separate area named Blog.
A view within the Blog area must contain an ActionLink that will link to the Index action of the HomeController.
You need to ensure that the ActionLink in the Blog area links to the Index action of the HomeController.
Which ActionLink should you use?