[CLOSED] [MIGRATION] getting selected rows values with id of data item

  1. #1

    [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:
    <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]
  2. #2
    It's start working o_O

    So thread can be closed.

Similar Threads

  1. [CLOSED] get record values of the selected combobox item
    By marco.morreale in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Jun 20, 2012, 1:22 PM
  2. Replies: 1
    Last Post: Jan 19, 2012, 12:11 PM
  3. Get CheckboxGridPanel selected rows values ?
    By Mohammad in forum 1.x Help
    Replies: 1
    Last Post: Nov 01, 2011, 7:11 AM
  4. Replies: 1
    Last Post: Oct 13, 2010, 11:09 PM
  5. [CLOSED] How to change record values of selected rows?
    By macap in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Jul 30, 2010, 12:29 PM

Tags for this Thread

Posting Permissions