Content
configurationSpecifies a URL or request options from where the Window will load its content.
For URLs which start with a protocol (for example, http://), a container
iframeelement is automatically created. As this behavior may change in future versions, try to always use the iframe configuration option.
content
Object|Stringcontent.dataType
StringThe type of result expected from the remote service. Used values are "html" and "json".
Default: "html"
content.iframe
BooleanIf the URL for the Window content contains a protocol, the Window creates an iframe for the content and assumes that the nested page resides in another domain.
If the URL does not contain a protocol, the URL is treated as a local URL which will load a partial view and the Window does not create an iframe for the content.
To control the creation of iframe Window content, you have to explicitly configure the option.
content.template
StringThe template for the content of a Window. Returned data from the server will be given as the data of this template.
If the returned data is JSON, the dataType parameter has to be passed so that the data gets parsed by jQuery.
If the URL contains a protocol, set iframe to false. Otherwise, the JSON response will be injected in the content area of the Window as is.
content.url
StringSpecifies the url from which the content is fetched