more than one extraparams from a gridpanel

  1. #1

    more than one extraparams from a gridpanel

    Hello everyone,

    is it possible passing more than one parameter using the rowselection model of a gridpanel?

    In the following:

     <ext:RowSelectionModel ID="RowSelectionModel_RichiesteDoc" runat="server" SingleSelect="true">
              <AjaxEvents >
                          <RowSelect OnEvent="RowSelect_RichiesteDoc" Buffer="250">
    
                          <ExtraParams>
                                 <ext:Parameter Name="myID" Value="this.getSelected().id" Mode="Raw" ></ext:Parameter>
                                  <ext:Parameter Name="myNomeFile" Value="this.getSelected().filename" Mode="Raw" ></ext:Parameter>
                                 <ext:Parameter Name="myEstensione" Value="this.getSelected().extension" Mode="Raw" ></ext:Parameter>
                            </ExtraParams>
                            </RowSelect>                                                                       
               </AjaxEvents>
     </ext:RowSelectionModel>
    only the first parameter is passed correctly on the server side. The others are 'Nothing' value.

    (obviously id, filename, extension come from the store wich the gridpanel is binded to.

    Thank You.
  2. #2
    Hi,

    You have to use 'get'
    <ext:Parameter Name="myEstensione" Value="this.getSelected().get('extension')" Mode="Raw" ></ext:Parameter>
    Vladimir Shcheglov
    Sr. Developer

Similar Threads

  1. Replies: 6
    Last Post: Aug 01, 2011, 5:53 PM
  2. AjaxFormResult && ExtraParams
    By threewonders in forum 1.x Help
    Replies: 1
    Last Post: Jun 28, 2011, 8:30 AM
  3. Combobox value with ExtraParams
    By ulrikn in forum 1.x Help
    Replies: 1
    Last Post: Feb 09, 2011, 11:46 AM
  4. [CLOSED] [1.0] GridPanel DirectEvent ExtraParams
    By jhouser in forum 1.x Premium Help
    Replies: 2
    Last Post: Jan 07, 2010, 11:12 AM
  5. How to use ExtraParams ?
    By iscript in forum 1.x Help
    Replies: 1
    Last Post: Aug 21, 2009, 8:09 AM

Posting Permissions