Question:

You are developing an ASP.NET Web site.

All GridView controls on the site must meet the following requirements:

Use the same row header font.

Use the same row selection button image.

Allow the row in the GridView control to be selected. You need to ensure that the site implementation meets the requirements. What should you do? (More than one answer choice may achieve the goal. Select the BEST answer.)

 

A 

Create a cascading style sheet (.css) file that defines a CSS class. Then assign the CSS class to the CssClass property of each GridView control.

 

B 

Create a custom server control that derives from the GridView control. Then replace all GridView controls on the site with the custom server control.

 

C 

Create a folder named CustomTheme within the site's App_Themes folder. Create a GridView control skin and store it in the CustomTheme folder. Add the theme="CustomTheme" attribute to the pages element of the Web.config file.

 

D 

Create a folder named CustomTheme within the

%windows%\Microsoft.NET\Framework\v3.5\ASP.NETClientFiles\Themes folder.

 

E 

Create a GridView control skin and store it in the CustomTheme folder. Add the StyleSheetTheme="CustomTheme" attribute to the @Page directive of each Web page.

 

+ Answer
+ Report
Total Preview: 877

Copyright © 2024. Powered by Intellect Software Ltd