Hello,
I would like to save all the records of the shipped orders radgrid with rows drag and drop feature to the database. So, i created a LinkButton using CommandItemTemplate like this:
ASPX:
But, as i observed, the embedded "export to excel button" i had created according to this example for saving all my records to an excel file was disappeared. How could i fix this problem;
P.S.
I used the following sample of code:
ASPX:
CS:
But i couldn't fire the events OnExcelMLExportRowCreated and OnExcelMLExportStylesCreated anymore.
Thank you very much.
I would like to save all the records of the shipped orders radgrid with rows drag and drop feature to the database. So, i created a LinkButton using CommandItemTemplate like this:
ASPX:
<
CommandItemTemplate
>
<
asp:LinkButton
ID
=
"LinkButton1"
CommandName
=
"UpdateChanges"
runat
=
"server"
>Update all</
asp:LinkButton
>
</
CommandItemTemplate
>
But, as i observed, the embedded "export to excel button" i had created according to this example for saving all my records to an excel file was disappeared. How could i fix this problem;
P.S.
I used the following sample of code:
ASPX:
<CommandItemTemplate> |
<asp:ImageButton ID="ExportToExcel" runat="server" OnClick="ExportToExcel_Click" /> |
</CommandItemTemplate> |
CS:
protected void ImageButton2_Click(object sender, ImageClickEventArgs e) |
{ |
RadGrid1.ExportSettings.ExportOnlyData = true; RadGrid1.ExportSettings.IgnorePaging = true; RadGrid1.ExportSettings.OpenInNewWindow = true; |
RadGrid1.MasterTableView.ExportToExcel(); |
} |
But i couldn't fire the events OnExcelMLExportRowCreated and OnExcelMLExportStylesCreated anymore.
Thank you very much.