protected void btnApplyCustomStyle_Click(object sender, EventArgs e)
{
// ExStart:LoadCustomStyle
// Setting the PresetStyle of the control to Custom
GridWeb1.PresetStyle = PresetStyle.Custom;
// Setting the path of style file to load style information from this file to the control
GridWeb1.CustomStyleFileName = (this.Master as Site).GetDataDir() + "\\GridWebBasics\\CustomStyle1.xml";
// ExEnd:LoadCustomStyle
}
}