I want to extract telerik DataFormatString into Skins.
The below code is the on ei declare in the Skin
My Skin Code :
<%@ Register Assembly="RadGrid.Net2" Namespace="Telerik.WebControls" TagPrefix="radG" %>
<radG:RadGrid runat="server" SkinID="myGrid" Skin="Grid" SkinsPath="~/App_Themes/Default/" DataFormatString="{0:dd/MM/yyyy}">
<PagerStyle Mode="NextPrevAndNumeric" AlwaysVisible="True" />
</radG:RadGrid>
My Web Page Code
<radG:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False"
SkinID="myGrid" AllowAutomaticDeletes="True" AllowAutomaticInserts="True"
AllowAutomaticUpdates="True" AllowPaging="True" AllowSorting="True" LoadingTemplateTransparency="50"
AllowFilteringByColumn="True" BackColor="Transparent" Width="100%">
<MasterTableView DataKeyNames="UserName" >
<Columns>
<radG:GridBoundColumn HeaderText="User Name" DataField ="displayUserName" meta:resourcekey="BoundFieldResource1"></radG:GridBoundColumn>
</Columns>
</MasterTableView>
<FilterMenu CssClass="FilterMenuClass1"></FilterMenu>
</radG:RadGrid>
When I bind Date to GridBoundColumns inside my web pages it's not formating what I declared in my skin " MyGrid ". Please let me know how can i extract this DataFormatString DateTime Grid Bound Columns.