Reputation: 5
I am ext.net(Version 1.6) using vb.net (code Behind). Please Take a look at my JavaScriptFunction:
<script type="text/javascript">
var saveData = function () {
GridData.setValue(Ext.encode(GrdAppointment.getRowsValues({ selectedOnly: false })));
alert("Hello! I am an alert box!!");
};
</script>
GridData:
<ext:Hidden ID="GridData" runat="server" />
The problem am facing is that GridData is always empty and it seems that i can't find the right solution for this problem. Thank You
Upvotes: 0
Views: 357
Reputation: 1851
I think you access a Hidden's value before updating. You might need to send a grid's data as an extra parameter of a DirectEvent.
Upvotes: 0
Reputation: 146
This control is WPF Specific, for more information refer to the WPF Specific topic
This topic explains how to implement data export to Excel using the xamDataPresenter™ control.
Upvotes: 1