Jun 26, 2013, 12:13 PM
[CLOSED] [MIGRATION] getting selected rows values with id of data item
Hi,
I've done this like this in my application using v1.6 of Ext.Net version:
markup:
How can I handle this in v2.2?
Thanks,
ViDom
I've done this like this in my application using v1.6 of Ext.Net version:
markup:
<ext:Button runat="server" ID="btnChoose" Visible="False" Text="Choose" Icon="Add" Height="26" Width="75">
<DirectEvents>
<Click OnEvent="btnChoose_Click" ShowWarningOnFailure="False" Timeout="60000">
<ExtraParams>
<ext:Parameter Name="Values" Value="Ext.encode(#{GridPanelMain}.getRowsValues({selectedOnly : true}))" Mode="Raw" />
</ExtraParams>
</Click>
</DirectEvents>
</ext:Button>
codebehind:protected void btnChoose_Click(object sender, DirectEventArgs e)
{
string json =e.ExtraParams["Values"];//it contains Id field of Item
}
The same code in Ext.Net v2.2 doesn't return Id field in json any more.How can I handle this in v2.2?
Thanks,
ViDom
Last edited by Daniil; Jun 26, 2013 at 2:10 PM.
Reason: [CLOSED]