[CLOSED] XRender Window in iFrame mode.

  1. #1

    [CLOSED] XRender Window in iFrame mode.

    Is it possible to use xRender to create a window with and IFrame? I've tried this code, but it just shows the window and doesn't load the IFrame

    Dim win As New Window()
    With win
    	.ID = "addAttach"
    	.Title = "Add Attachment"
    	.Width = 250
    	.Height = 250
    	.Padding = 5
    	.AutoLoad.Mode = LoadMode.IFrame
    	.AutoLoad.ShowMask = True
    	.LoadContent("~/cpanel/projects/controls/pgAdjustDueDate.aspx?ProjectID=" & rProjectID & "&TaskID=" & lblTaskID.Text, True)
    End With
    win.Listeners.Hide.Handler = "Button1.setDisabled(false);"
    win.Render(Me.Form)
  2. #2

    RE: [CLOSED] XRender Window in iFrame mode.

    Hi, if you replace the line

    LoadContent("~/cpanel/projects/controls/pgAdjustDueDate.aspx?ProjectID=" & rProjectID & "&TaskID=" & lblTaskID.Text, True)
    with

    
    
    
    .AutoLoad.Url = "~/cpanel/projects/controls/pgAdjustDueDate.aspx?ProjectID=" & rProjectID & "&TaskID=" & lblTaskID.Text
    it should work as expected.

    Thanks,

    GavinR
  3. #3

    RE: [CLOSED] XRender Window in iFrame mode.

    Worked like a charm

    Thanks GavinR

Similar Threads

  1. [CLOSED] Problem with display grid in IFrame Ext.Net.Window Mode
    By ViDom in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Jul 23, 2012, 3:14 PM
  2. Replies: 0
    Last Post: Mar 02, 2012, 9:29 AM
  3. [CLOSED] Callbacks, Window, iframe - passing data back async mode?
    By wagger in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Apr 25, 2011, 11:01 AM
  4. [CLOSED] Bug with Window and Iframe mode
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Oct 19, 2010, 11:18 AM
  5. Replies: 2
    Last Post: Jul 01, 2009, 1:06 PM

Posting Permissions