6 Answers, 1 is accepted
0
Princy
Top achievements
Rank 2
answered on 02 May 2008, 12:48 PM
0
Manjunath
Top achievements
Rank 1
answered on 02 May 2008, 01:10 PM
Thanks princy ,
But I have a situation like , when a link button is clicked the data from the r.a.dGrid should be copied to the Dataset
But I have a situation like , when a link button is clicked the data from the r.a.dGrid should be copied to the Dataset
0
Manjunath
Top achievements
Rank 1
answered on 02 May 2008, 01:12 PM
And one more thing is I don't want to modify the current binding and other stuffs ...... only adding this facility and preparing the dataset for the next process......
Thanks
Thanks
0
Bodevain Svensson
Top achievements
Rank 1
answered on 04 May 2008, 12:52 PM
I will try to give you a hint here, Manjunath, based on my experience with RadGrid. In the OnClick server handler of the button iterate through the Items collection of the RadGrid control and extract the data from each cell using the unique name of the column to reference it. Then copy the data in your custom dataset to process it later.
One more thing - to make sure that you get all values from the grid when paging is enabled, set AllowPaging = false and rebind the grid invoking the Rebind() method before traversing its Items collection (inside the link button click handler).
Hope this makes sense.
Bodevain
One more thing - to make sure that you get all values from the grid when paging is enabled, set AllowPaging = false and rebind the grid invoking the Rebind() method before traversing its Items collection (inside the link button click handler).
Hope this makes sense.
Bodevain
0
Manjunath
Top achievements
Rank 1
answered on 05 May 2008, 07:32 AM
Hi
I want to export the content of the editable r.a.d Grid to excel sheet . when i code for this feature i am getting an error showing "RegisterRequiresControlState can only be called before and during PreRender."
when a link button is clicked the below code get executed .....
grdIssues.ExportSettings.ExportOnlyData = true;
grdIssues.ExportSettings.IgnorePaging = true;
grdIssues.ExportSettings.OpenInNewWindow = true;
grdIssues.MasterTableView.ExportToExcel();
and getting the above shown error ...
can anyone help in this regard,
Thanks
I want to export the content of the editable r.a.d Grid to excel sheet . when i code for this feature i am getting an error showing "RegisterRequiresControlState can only be called before and during PreRender."
when a link button is clicked the below code get executed .....
grdIssues.ExportSettings.ExportOnlyData = true;
grdIssues.ExportSettings.IgnorePaging = true;
grdIssues.ExportSettings.OpenInNewWindow = true;
grdIssues.MasterTableView.ExportToExcel();
and getting the above shown error ...
can anyone help in this regard,
Thanks
0
Shinu
Top achievements
Rank 2
answered on 05 May 2008, 07:48 AM
Hi Manjunath,
Go through the following forum link which discusses a similar error.
ExportToExcel create error after upgrade to Q2
Shinu.
Go through the following forum link which discusses a similar error.
ExportToExcel create error after upgrade to Q2
Shinu.