Hello,
I followed instructions on http://www.telerik.com/help/aspnet/grid/grdskins.html in order to remove the skin completely and use my custom properties and CSS.
I put Skin="None" however, when the grid is rendered I get the following:
<DIV class="RadGrid RadGrid_None" id=ctl00_PageContent_UcDrpProjects1_RadGrid1 tabIndex=0><!-- 2008.2.826.20 -->
<TABLE class=MasterTable_None
where is this coming from? And if I put my own Css="myCss" it will put "MasterTable_None myCss"
By the way, all properties work except cellpadding. The padding is properly displayed in designer, but when ran, it's not reflected on the table dispite the cellPadding=5 being there after html rendering.
The following is my radgrid definition:
<telerik:RadGrid
ID="RadGrid1"
runat="server"
AutoGenerateColumns="False"
DataSourceID="ads_Projects"
GridLines="None"
AllowSorting="True"
PageSize="5"
ImagesPath="../Images/"
CellPadding="5"
EnableEmbeddedBaseStylesheet="False"
EnableEmbeddedSkins="False"
Skin="None"
AllowPaging="True"
>
<MasterTableView
DataKeyNames="OrderID"
DataSourceID="ads_Projects"
BackColor="#75A19B"
CellPadding="5"
CellSpacing="1"
Font-Bold="False"
Font-Italic="False"
Font-Overline="False"
Font-Size="Small"
Font-Strikeout="False"
Font-Underline="False"
GridLines="None"
>
Thanks
I followed instructions on http://www.telerik.com/help/aspnet/grid/grdskins.html in order to remove the skin completely and use my custom properties and CSS.
I put Skin="None" however, when the grid is rendered I get the following:
<DIV class="RadGrid RadGrid_None" id=ctl00_PageContent_UcDrpProjects1_RadGrid1 tabIndex=0><!-- 2008.2.826.20 -->
<TABLE class=MasterTable_None
where is this coming from? And if I put my own Css="myCss" it will put "MasterTable_None myCss"
By the way, all properties work except cellpadding. The padding is properly displayed in designer, but when ran, it's not reflected on the table dispite the cellPadding=5 being there after html rendering.
The following is my radgrid definition:
<telerik:RadGrid
ID="RadGrid1"
runat="server"
AutoGenerateColumns="False"
DataSourceID="ads_Projects"
GridLines="None"
AllowSorting="True"
PageSize="5"
ImagesPath="../Images/"
CellPadding="5"
EnableEmbeddedBaseStylesheet="False"
EnableEmbeddedSkins="False"
Skin="None"
AllowPaging="True"
>
<MasterTableView
DataKeyNames="OrderID"
DataSourceID="ads_Projects"
BackColor="#75A19B"
CellPadding="5"
CellSpacing="1"
Font-Bold="False"
Font-Italic="False"
Font-Overline="False"
Font-Size="Small"
Font-Strikeout="False"
Font-Underline="False"
GridLines="None"
>
Thanks