ImageSelector Class |
Namespace: CMS.Controls
public class ImageSelector : WebControl, INamingContainer, ICallbackEventHandler, IDialogControl
The ImageSelector type exposes the following members.
Name | Description | |
---|---|---|
ImageSelector |
Constructor.
| |
ImageSelector(String) |
Constructor with default image path.
| |
ImageSelector(String, Boolean) |
Constructor with default image path.
|
Name | Description | |
---|---|---|
mBtnClearPath |
Clear path button.
| |
mBtnSelectImage |
Select image button.
| |
mHidAlt |
Hidden alternate text
| |
mHidDefaultValue |
Hidden default value field.
| |
mHidFullUrl |
Hidden Full URL.
| |
mHidPreviewUrl |
Hidden preview URL.
| |
mHidValue |
Hidden value field.
| |
mImgImagePreview |
Preview image.
| |
mLtlScript |
Script literal.
| |
mPnlHeader |
Header panel.
| |
mPnlSelector |
Selector panel.
| |
mTxtImagePath |
Image path field.
|
Name | Description | |
---|---|---|
AlternateText |
Gets or sets the alternate text value for the image
| |
ClearPathButton |
Clear path button.
| |
Culture |
Interface culture of the control.
| |
DefaultValue |
Default value.
| |
DialogConfig |
Configuration of the dialog for inserting Images.
| |
Enabled |
Enabled.
(Overrides WebControlEnabled.) | |
EnableOpenInFull |
Enable open in full size behavior.
| |
ImageCssClass |
CSS class of the image preview.
| |
ImageHeight |
Height of the image preview.
| |
ImageMaxSideSize |
Image max side size.
| |
ImagePathTextBox |
Image path textbox.
| |
ImagePreviewControl |
Image preview control.
| |
ImageStyle |
CSS style of the image preview.
| |
ImageWidth | Width of the image preview. | |
IsLiveSite |
Indicates if control is used in live site mode.
| |
SelectImageButton |
Button invoking the image selection dialog.
| |
ShowClearButton |
Indicates if the Clear button should be displayed.
| |
ShowImagePreview |
Indicates if the image preview be displayed.
| |
ShowTextBox |
Indicates if the path textbox should be displayed.
| |
TagKey |
Overrides the generation of the SPAN tag with custom tag.
(Overrides WebControlTagKey.) | |
UseImagePath |
Indicates whether image path (TRUE) or path with node guid (FALSE) should be returned to the textbox field.
| |
Value |
Selector value: UseImagePath is set to FALSE -> selector value is Node GUID, UseImagePath is set to TRUE -> selector value is file path.
|
Name | Description | |
---|---|---|
CreateChildControls |
Renders the control at run-time.
(Overrides ControlCreateChildControls.) | |
GetCallbackResult |
Prepares the callback result.
| |
InitControls |
Initializes controls.
| |
LoadDisplayValues |
Returns the display text for the given selector value.
| |
OnLoad |
Load event handler.
(Overrides ControlOnLoad(EventArgs).) | |
RaiseCallbackEvent |
Raises the callback event.
| |
Render |
Renders the control at design-time.
(Overrides WebControlRender(HtmlTextWriter).) |
Name | Description | |
---|---|---|
AddCssClass |
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
CallHandled |
Calls the method handled by the exception handler. If the call doesn't succeed, the problem is reported through parent IExceptionHandler control instead of throwing unhandled exception for the entire page.
Returns true, if the call succeeded, otherwise returns false.
(Defined by ControlsExtensions.) | |
GetCssClasses |
Returns all CSS classes of control.
(Defined by ControlsExtensions.) | |
GetRenderedHTML |
Returns HTML which would be rendered by control to page.
(Defined by ControlsExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by ControlsExtensions.) | |
HasCssClass |
Checks whether the control has given CSS class. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
RemoveCssClass |
Removes all occurrences. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
SetCssClasses |
Sets CSS classes to the control. Current classes will be overridden.
(Defined by ControlsExtensions.) |