Nov 22, 2012, 7:10 AM
How to export gridpanel from code behind ?
If i have a gridpanel defined in the code behind the form how can i export it ? (getRowsValues) ? using direct methods ?
The definition of the button :
The definition of the button :
<DirectEvents>
<Click OnEvent="ExportEt" IsUpload="true" >
<ExtraParams>
<ext:Parameter Name="data" Value="?????????????????????????" Mode="Raw" Encode="true" />
<ext:Parameter Name="format" Value="csv" Mode="Value" />
</ExtraParams>
</Click>
</DirectEvents>
the definition of the gridpanel Protected Function grid_export() As GridPanel
Dim zzz As New GridPanel
Dim yyy As New Store
yyy.Data = querydbdata(Session("stoc_select").ToString)
zzz.Add(yyy)
Return zzz
End Function
Thank you