String. Gets or sets the file name of the template with the popups on demand.
Popups described in this template will be loaded on demand to this PopupHolder control.
Example:
DemandTemplate="~/App_Obout/HTMLEditor/XML/DemandPopups1.xml"
If the file extension is absent then .xml extension will be used by default.
Example:
DemandTemplate="~/App_Obout/HTMLEditor/XML/DemandPopups1"
Also you can use the file name only without path prefix.
In this case the value of the TemplatesFolder
property will be used as the path prefix (default "~/App_Obout/HTMLEditor/XML/").
Full example:
DemandTemplate="DemandPopups1"
Example of the template XML file:
<DemandPopups>
<!-- Change some default properties of the Spell Checker -->
<popup name="SpellCheckPopup" >
<!-- Keep custom dictionary on the server -->
<property name="CustomDictionaryOnServer" value="true" />
<!-- Define dictionaries to use -->
<collection name="Dictionaries">
<!-- American dictionary -->
<SpellCheckDictionary>
<property name="FileName" value="en-US.dic" />
<property name="DisplayName" value="English(US)" />
</SpellCheckDictionary>
<!-- Great Britain dictionary -->
<SpellCheckDictionary>
<property name="FileName" value="en-GB.dic" />
<property name="DisplayName" value="English(GB)" />
</SpellCheckDictionary>
</collection>
</popup>
<!--The Image browser will generate absolute URL for selected image-->
<popup name="ImageBrowser" >
<property name="RelativeUrl" value="false" />
</popup> </DemandPopups>
|