User Profile & Activity

Steve Gavrilles Member
Posted: April 26, 2016 12:19 PM

No, I am trying to create a frame that wraps around the content page it is bringing in.

I cannot change the size of the content page that the frame is loading.

Posted: April 22, 2016 12:30 PM

Thanks Yudi, But that is not what I am asking for.

Here is what I am trying to do:

  1. I create a new IFrame window:

     var wnd = dm.GetWindow("wndClaimSearch");

    wnd = new WebDesktopWindow();


  2. I set all the valid properties of the window:                                                                                                         wnd = new WebDesktopWindow();

                wnd.Text = "Claim Search";

                wnd.Name = "wndClaimSearch";

                wnd.TaskBarImage = "is_webdesktop-16.gif";

                wnd.ControlBoxImage = "is_webdesktop-16.gif";

                wnd.ContentURL = "ClaimSearch.aspx";  (Want to set iframe to this size)

                wnd.ContentMode = "UseIFrame";

                wnd.AllowMinimize = "Yes";

                wnd.AllowMaximize = "No";

                dm.Windows.Add(wnd);

  3. Now I would like to Size or Resize the IFrame window to match the size of ClaimSearch.aspx

                      wnd.ResizeTo(width of ClaimSearch.aspx, height of ClaimSearch.aspx);


I do not want to set the size manually, I want it to look at the content page and adjust the IFrame to that size.


Thanks.


Posted: September 1, 2015 8:10 PM

Clicking on preview causes the same error as double-clicking on the layout name.(WDM2.png)

I am aware of how it should work.

All times are GMT -5. The time now is 3:56 PM.
Previous Next