[CLOSED] Get selected records of grid in a iframe

  1. #1

    [CLOSED] Get selected records of grid in a iframe

    Hi

    I have an iframe with a gridpanel in my programm. I'd like to read the selected records of this grid and send them as parameters when I click on a button on the parent window. How can I do that? (If at all.)

    Thanks,
    Sharon
  2. #2

    RE: [CLOSED] Get selected records of grid in a iframe

    Hi,

    For example Panel1 contains iframe with grid


    Panel1.iframe.dom.contentwindow.GridPanel1.getSele ctionModel().getSelected()
    Panel1.iframe.dom.contentwindow.GridPanel1.getSele ctionModel().getSelections()





  3. #3

    RE: [CLOSED] Get selected records of grid in a iframe



    Hi vladimir,

    following your answer maybe you can assist me in this:
    I have a set of tabs opened (all iframes with external aspx files).
    I need to call in every tab an AjaxMethod (all with the same name).
    So this will be something like:
    mypanel.iframe.Coolite.AjaxMethods.MyMethod (is this correct?)

    But the problem is that I don't know which tabs are opened and which id's they have.
    So I need kind of loop through the tabs in the tabpanel.

    How can I do this?

    Thanks!

    Reno
  4. #4

    RE: [CLOSED] Get selected records of grid in a iframe

    It's contentWindow, not contentwindow, for everyone who wants to copy this.

    Thanks. Works. :)
  5. #5

    RE: [CLOSED] Get selected records of grid in a iframe

    *Hi,

    Thanks for pointing out this mistyping

Similar Threads

  1. Replies: 5
    Last Post: Jun 14, 2011, 11:47 AM
  2. How to get Grid records in code behind
    By Jeevaraj K in forum 1.x Help
    Replies: 5
    Last Post: May 20, 2011, 11:56 AM
  3. [CLOSED] Gridpanel Selected records
    By majestic in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Dec 30, 2010, 8:52 AM
  4. [CLOSED] How to add the records to grid panel dynamically?
    By Etisbew in forum 1.x Legacy Premium Help
    Replies: 9
    Last Post: Oct 02, 2009, 6:41 AM
  5. [CLOSED] Get selected gridpanel records
    By reinout.mechant@imprss.be in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Aug 31, 2009, 7:05 AM

Posting Permissions