Search
WindowBase.navigateUrl Property
See Also
 






Gets or sets a string, specifying the URL of the web page, that will be loaded in the control's content IFrame.

Namespace: MindFusion.Common.UI
File: WindowBase.js

 Syntax

JavaScript  Copy Code

get navigateUrl() {}

 Property Value

String. A string specifying the URL of the web page, that will be loaded in the control's content IFrame.

 Example

The following sample uses the navigateUrl property to specify a page to be opened in a Window instance and then refreshes the Window:

JavaScript  Copy Code

var u = MindFusion.Common.UI;

window.windowOpening.addEventListener(windowOpeningEventHandler);

function windowOpeningEventHandler(sender, args)
{
  //if the window is minimized
  if(args.item.title === "Go to Page")
      sender.navigateUrl = "products.html";
      sender.refresh();
}

 See Also