Hi,
I am new to the Ultrawebgrid. I need to fill ultrawebgrid using a dataset and that should have a checkbox. I should be able to select some of the rows from the grid or all of the row using the header templete using the checkbox and export them into excel. I could able the export all the record using the UltraWebGridExcelExporter. but i want the selected one to be exported. One more think in exporting is if i export the grid i don't want the checkbox column to export(It is exporting as false in Excel). Please help me out to solve my problem.
Thanks in advance.
Saro
I would try this this it is kinda what I am doing on something already:
1.) Add another grid and make visible=false.2.) Loop your original grid and create a datatable based on the items that are checked. Choose to include a value for the checkbox or not.3.) Bind your new datatable to the new grid.4.) Export your new grid to Excel.
That should work...
Hi RobertGaya,
Thanks for the reply. Would you please give any code example(c#) of do that problem? I am very new to the ultrawebgrid. I don't even know to add checkbox on grid.
Thanks again.
Hi RobertGayo,
Would you please give any code sample for my problem? I will do that accordingly.
Thanks
Well it's Friday and it's 5:00. So to answer the question... maybe, but not today.
Look at the examples and see how to do the template columns for a checkbox.
Then go from from there.
R