new TemplateControl(config)
Control to modify templates.
Extends Cadcorp.UI.Admin.EditableControlBase
Parameters:
Name | Type | Description |
---|---|---|
config |
Object | The options used to configure this control, any valid option for Cadcorp.UI.Admin.EditableControlBase can be supplied |
Members
addMode
Properties:
Name | Type | Description |
---|---|---|
addMode |
bool | Is this in add state. |
closeEventName
Properties:
Name | Type | Description |
---|---|---|
closeEventName |
string | Dialog close event name. |
deleteUrl
Properties:
Name | Type | Description |
---|---|---|
deleteUrl |
string | URL to the delete method. |
deleteUrl
Properties:
Name | Type | Description |
---|---|---|
deleteUrl |
string | URL to the delete method. |
id
Properties:
Name | Type | Description |
---|---|---|
id |
string | The control id. |
images
openEventName
Properties:
Name | Type | Description |
---|---|---|
openEventName |
string | Dialog open event name. |
parentControl
Properties:
Name | Type | Description |
---|---|---|
parentControl |
string | The parent control name. |
skinUrl
Properties:
Name | Type | Description |
---|---|---|
skinUrl |
string | the URL of the skin folder. |
templateName
Properties:
Name | Type | Description |
---|---|---|
templateName |
string | Initial template name, replaced on successful update. |
templateText
Properties:
Name | Type | Description |
---|---|---|
templateText |
string | Initial template text, replaced on successful update. |
themeUrl
Properties:
Name | Type | Description |
---|---|---|
themeUrl |
string | URL to the theme folder. |
updateUrl
Properties:
Name | Type | Description |
---|---|---|
updateUrl |
string | URL to the Update method. |
updateUrl
Properties:
Name | Type | Description |
---|---|---|
updateUrl |
string | URL to the Update method. |