A
Axel Dahmen
I've created a class in a .NET 1.1 C# class library project deriving from
System.Web.UI.WebControls.DataGrid. When I try to use this class in my .aspx
page, I get loads of parser warnings in the Task pane telling me that e.g.
<HeaderStyle> is not supported by the active schema. This is true for any
DataGrid "sub control" I'm using.
Is there an easy way to get rid of these warnings?
TIA,
Axel Dahmen
------------
This is my class:
public class SortingDataGrid : System.Web.UI.WebControls.DataGrid
{
...
}
------------
This is what I've added to the .aspx page (HeaderStyle and PagerStyle are
underlined in red):
<%@ Register TagPrefix="exc" Namespace="Common.Controls" Assembly="Common"
%>
....
<exc:SortingDataGrid Runat="server" ID="grdTemp" ...>
<HeaderStyle .../>
<PagerStyle .../>
...
<exc:SortingDataGrid/>
System.Web.UI.WebControls.DataGrid. When I try to use this class in my .aspx
page, I get loads of parser warnings in the Task pane telling me that e.g.
<HeaderStyle> is not supported by the active schema. This is true for any
DataGrid "sub control" I'm using.
Is there an easy way to get rid of these warnings?
TIA,
Axel Dahmen
------------
This is my class:
public class SortingDataGrid : System.Web.UI.WebControls.DataGrid
{
...
}
------------
This is what I've added to the .aspx page (HeaderStyle and PagerStyle are
underlined in red):
<%@ Register TagPrefix="exc" Namespace="Common.Controls" Assembly="Common"
%>
....
<exc:SortingDataGrid Runat="server" ID="grdTemp" ...>
<HeaderStyle .../>
<PagerStyle .../>
...
<exc:SortingDataGrid/>