This is a migrated thread and some comments may be shown as answers.

export to excel

1 Answer 45 Views
Grid
This is a migrated thread and some comments may be shown as answers.
appdev
Top achievements
Rank 1
appdev asked on 23 Jan 2009, 03:11 PM
it just doesn't work. i click on the button 

<

asp:Button ID="ExportToExcel" runat="server" Text="Export" OnClick="ExportToExcel_Click" />

 

 

Protected Sub ExportToExcel_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles ExportToExcel.Click

 

RadGrid1.ExportSettings.ExportOnlyData =

True

 

 

 

RadGrid1.ExportSettings.IgnorePaging =

True

 

 

 

RadGrid1.MasterTableView.ExportToExcel()

 

End Sub

 

 

 

<

telerik:RadGrid ID="RadGrid1" runat="server" style="overflow:hidden;"

 

 

 

 

AllowSorting="True" AllowMultiRowSelection="true" Skin="Default" >

 

 

 

 

<MasterTableView Summary="testing"></MasterTableView>

 

 

 

 

<PagerStyle Mode="NextPrevAndNumeric" />

 

 

</telerik:RadGrid>

 

 

the page get reloaded but nothing happen it doesn't popup message asking me to save. can u help? thank you

1 Answer, 1 is accepted

Sort by
0
appdev
Top achievements
Rank 1
answered on 23 Jan 2009, 03:21 PM
never mind. i got it.
Tags
Grid
Asked by
appdev
Top achievements
Rank 1
Answers by
appdev
Top achievements
Rank 1
Share this question
or