[CLOSED] Pass value of gridrow to page in iframe

  1. #1

    [CLOSED] Pass value of gridrow to page in iframe

    Sorry for asking you this question again, but I can't manage to pull it off. I have a gridpanel with rows and when I select row and push a button, the window with the iframe opens. This page contains an activex control that needs to be set with some params through JScript. Ext is NOT available on this page, so DOM is the only way :-(.
  2. #2

    RE: [CLOSED] Pass value of gridrow to page in iframe

    Hi CSG,

    I think you're going to have to post some kind of code sample demonstrating what needs to be done.

    Geoffrey McGill
    Founder
  3. #3

    RE: [CLOSED] Pass value of gridrow to page in iframe



    In found a way to do it, but my IFrame won't load the page. The frame doesn't even load www.ext.net at first. Here's the code:

    <ext:ToolbarButton IconCls="icon-picture16" ID="oToolbarButtonTakePictureCard" runat="server" Text="Foto nemen">
        <AjaxEvents>
            <Click OnEvent="TakePictureCardClick">
                <ExtraParams>
                    <ext:Parameter Name="SchoolYear" Value="#{oGridPanelCards}.getSelectionModel().getSelected().data.SchoolYear" Mode="Raw" />
    
                    <ext:Parameter Name="StudentNumber" Value="#{oGridPanelCards}.getSelectionModel().getSelected().data.StudentNumber" Mode="Raw" />
                </ExtraParams>
            </Click>
        </AjaxEvents>
    
    
        <Listeners>    
            <Click Handler="showWindow(#{oDesktopWindowTakePicture});" />
        </Listeners>
        
        <ToolTips>
            <ext:ToolTip Html="Neem een foto voor deze kaart" ID="oToolTipTakePictureCard" runat="server" Title="Foto nemen" />
        </ToolTips>
    </ext:ToolbarButton>
    
    ...
    
    <ext:DesktopWindow Collapsible="false" Draggable="false" Height="600" IconCls="icon-picture16" ID="oDesktopWindowTakePicture" Maximizable="false" Modal="true" Resizable="false" runat="server" Title="Kaarten - Foto nemen" Width="855">
        <AutoLoad MaskMsg"Bezig met laden van fotostudio" Mode="IFrame" ShowMask="true" Url="http://www.ext.net" />
    </ext:DesktopWindow>
    'Set url (string)
    sUrl = "../Control.aspx?random=" &amp; sRandomNumber &amp; "&amp;schoolyear=" &amp; sSchoolYear &amp; "&amp;studentnumber=" &amp; sStudentNumber
    
    
    'Set control (panel) 
    Me.oDesktopWindowTakePicture.AutoLoad.Url = sUrl
    
    
    'Load content
    Me.oDesktopWindowTakePicture.LoadContent()
  4. #4

    RE: [CLOSED] Pass value of gridrow to page in iframe

    Hi CSG,

    Is this still giving you problems? I ran a couple tests and everything appears to work correctly when I try to run any external url.
    Last edited by geoffrey.mcgill; Feb 22, 2011 at 4:28 AM.
    Geoffrey McGill
    Founder
  5. #5

    RE: [CLOSED] Pass value of gridrow to page in iframe

    Solved...

Similar Threads

  1. redirection from iframe page
    By norphos in forum 1.x Help
    Replies: 10
    Last Post: Aug 15, 2012, 5:14 AM
  2. Replies: 1
    Last Post: Feb 03, 2012, 2:36 PM
  3. [CLOSED] Load Fresh Page In iFrame...
    By tjbishop in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Aug 03, 2010, 3:19 PM
  4. Tabpanel Iframe page
    By vali1993 in forum 1.x Help
    Replies: 2
    Last Post: Feb 22, 2010, 3:56 PM
  5. Replies: 3
    Last Post: Mar 12, 2009, 3:09 PM

Posting Permissions