Share via


GridView

Figure 11. The GridView Theme has Been Added to the App_Theme Folder

Rename the GridView Theme to DataWebControls (right-click on the GridView folder in the App_Theme folder and choose Rename). Next, enter the following markup into the GridView.skin file:

  <asp:GridView runat="server" CssClass="DataWebControlStyle"><br>   <AlternatingRowStyle CssClass="AlternatingRowStyle" /><br>   <RowStyle CssClass="RowStyle" /><br>   <HeaderStyle CssClass="HeaderStyle" />   <br></asp:GridView> 

Comments