Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
<
telerik:RadGrid
ID
=
"RadGrid1"
runat
"server"
Visible
"false"
>
MasterTableView
CommandItemDisplay
"Top"
CommandItemSettings
ShowExportToCsvButton
"true"
/>
</
asp:Button
"Button1"
Text
"Export to CSV"
OnClick
"Button1_Click"
protected
void
Button1_Click(
object
sender, EventArgs e)
{
RadGrid1.Visible =
true
;
RadGrid1.ExportSettings.OpenInNewWindow =
RadGrid1.MasterTableView.ExportToCSV();
}