I am working through the second try it out when I try to view the Genres.aspx page in the browser this is the error message i get.
Server Error in '/' Application.
--------------------------------------------------------------------------------
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: The 'ID' property of a control type System.Web.UI.WebControls.GridView cannot be applied through a control skin.
Source Error:
Line 1: <asp:GridView ID="GridView1" runat="server" CssClass="GridView">
Line 2: <HeaderStyle CssClass="GridViewHeaderStyle" />
Line 3: <PagerStyle CssClass="GridViewPagerStyle" />
Source File: /App_Themes/Management/GridView.skin Line: 1
It seems it is telling me that this is not a proper use of the asp tag GridView am I doing something wrong?
do I need a using statement in the skin file
Code:
<asp:GridView ID="GridView1" runat="server" CssClass="GridView">
<HeaderStyle CssClass="GridViewHeaderStyle" />
<PagerStyle CssClass="GridViewPagerStyle" />
<SortedAscendingHeaderStyle CssClass="GridViewSortedAscendingHeaderStyle" />
<SortedDescendingHeaderStyle CssClass="GridViewSortedDescendingHeaderStyle" />
</asp:GridView>
is the current of my GridView.skin
I also get this warning in the error list window
Warning 1 E:\Websites\BegASPNET\App_Themes\Management\GridVi ew.skin: ASP.NET runtime error: There is no build provider registered for the extension '.skin'. You can register one in the <compilation><buildProviders> section in machine.config or web.config. Make sure is has a BuildProviderAppliesToAttribute attribute which includes the value 'Web' or 'All'. E:\Websites\BegASPNET\App_Themes\Management\GridVi ew.skin 1 1 E:\Websites\BegASPNET\