Question

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

Was it helpful?

Solution 2

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.

OTHER TIPS

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.

http://help.infragistics.com/Help/NetAdvantage/WPF/2011.2/CLR4.0/html/xamDataPresenter_Export_a_DataPresenter_Control_to_Excel.html

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top