Hi
I want to use xml from savelayout and loadlayout.
but i want some specific properties from xml. i.e. i want to save some specific properties of xmlnode.
for eg.
StringBuilder stbTmp = new StringBuilder();
using (XmlWriter writer = XmlWriter.Create(stbTmp))
{
rgvCustom.SaveLayout(writer);
}
Generated Output:
<Telerik.WinControls.UI.GridViewDecimalColumn FormatString="" Width="92" FieldName="h_company_id" Name="h_company_id" IsAutoGenerated="True" IsVisible="True" HeaderText="h_company_id" TextAlignment="MiddleRight" />
I want to following string.
Expected Output
<Telerik.WinControls.UI.GridViewDecimalColumn FormatString="" FieldName="company_id" Name="company_id" HeaderText="company id" TextAlignment="MiddleRight" />
how can get above string in savelayout except........ IsAutoGenerated="True" IsVisible="True"
Please let me know.
thanks.
I want to use xml from savelayout and loadlayout.
but i want some specific properties from xml. i.e. i want to save some specific properties of xmlnode.
for eg.
StringBuilder stbTmp = new StringBuilder();
using (XmlWriter writer = XmlWriter.Create(stbTmp))
{
rgvCustom.SaveLayout(writer);
}
Generated Output:
<Telerik.WinControls.UI.GridViewDecimalColumn FormatString="" Width="92" FieldName="h_company_id" Name="h_company_id" IsAutoGenerated="True" IsVisible="True" HeaderText="h_company_id" TextAlignment="MiddleRight" />
I want to following string.
Expected Output
<Telerik.WinControls.UI.GridViewDecimalColumn FormatString="" FieldName="company_id" Name="company_id" HeaderText="company id" TextAlignment="MiddleRight" />
how can get above string in savelayout except........ IsAutoGenerated="True" IsVisible="True"
Please let me know.
thanks.