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

Clientside export to excel

1 Answer 129 Views
Grid
This is a migrated thread and some comments may be shown as answers.
judo
Top achievements
Rank 1
judo asked on 14 Aug 2008, 06:29 AM
Does anyone have a code example for the clientside export to excel fucntion. Can't see one anywhere in the docs or examples.

I presume the clientside export wuld allow me to avoid retrieving and binding data to the Grid a second time.

Thx

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 15 Aug 2008, 03:42 PM
Hello Jude,

It is not possible to avoid the below mentioned tasks because client-side exporting is using the API of the server.
Regarding your question: please check the following help article illustrating the MasterTableView Class Members

Quote:
function ExportGrid() 
   var masterTable = $find("<%=RadGrid1.ClientID %>").get_masterTableView(); 
   masterTable.exportToExcel(); 
 

Regards,
Daniel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
judo
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or