<Columns>
<telerik:GridTemplateColumn HeaderText=" " UniqueName="Status" HeaderStyle-Width="30px" ItemStyle-HorizontalAlign="Right">
</telerik:GridTemplateColumn>
This all works okay. However when I call the dataBind() method from javascript in conjuction with the OnRowDataBound handler to populate the rows (by obtaining the cell and setting the innerHTML), my grid appears is loaded as I expect BUT the style properties that I set on the Columns such as the ItemStyle-HorizontalAlign="Right" are no longer applied. My question is how do I set the styles if I want them retained when loading the Grid via client-side code?
More broadly, is it possible to work with ItemTemplates when working with the client-side dataBind() without having to resort to the OnRowDataBound event?
RadGrid1.ExportSettings.FileName =
"Report1"
RadGrid1.ExportSettings.ExportOnlyData =
True
RadGrid1.ExportSettings.IgnorePaging =
True
RadGrid1.ExportSettings.Excel.FileExtension =
".xls"
RadGrid1.ExportSettings.Excel.Format = GridExcelExportFormat.ExcelML
RadGrid1.ExportSettings.ExportOnlyData =
True
RadGrid1.MasterTableView.ExportToExcel()
The same query when i fired on a grid which is designed and bind it wht sqldatasource it took less than 1 minute .....
so i m sure i m doing some thing wrong in the grid which i generated dynamically..... so can any one suggest me about wht i need to do......
In my dynamically generated grid wht i m doing is
adding the columns to the grid at page_load() event
then setting its datasource at need datasource event
so plz guide me wht is remaining in it.......
oRotator.set_rotatorType(Telerik.Web.UI.RotatorType.FromCode);
[/code]
null is null or not an object.
I have the code in a RadCodeBlock and call the script from an onload on the body tag. I'm using a RadScriptManager. Do I need to include a path to some javascript files or something?


RadRotator1.DataSource = dt;
RadRotator1.DataBind();
