I'm trying to export the grid from the client side. I'm having trouble getting a reference to the RadGridTable.
See below:
The documentation states that this object will not show up on the client Html unless certain features are used. I'm using several of the features.
I'm wondering if there's a tag I need to add to may aspx file inside the grid tag.
Also, I found this in the posts, but the function get_masterTableView is missing:
Any ideas?
Thanks,
Tom
See below:
Client-side RadGridTable object methods |
ExportToWord() ExportToExcel() |
I'm wondering if there's a tag I need to add to may aspx file inside the grid tag.
Also, I found this in the posts, but the function get_masterTableView is missing:
function ExportGrid() |
{ |
var masterTable = $find("<%=RadGrid1.ClientID %>").get_masterTableView(); |
masterTable.exportToExcel(); |
} |
Any ideas?
Thanks,
Tom