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
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.