Property | Type | Description | |
---|---|---|---|
AddContentViewToCache | void | ||
CreateFromActualPath | |||
CreateFromViewRoot | |||
GetContentViewFromCache | |||
GetDefaultControlRenderMode | FieldControlRenderMode | ||
GetGenericPath | string | ||
GetIndexedFieldValue | int | ||
GetProperty | string | ||
GetString | string | ||
GetString | string | ||
GetTypeDependentPath | string | ||
GetValue | string | ||
GetValue | string | ||
Initialize | void | ||
RegisterControl | |||
RegisterErrorControl | void | ||
RegisterFieldControl | void | ||
ResolveContentViewPath | string | ||
SetContentViewFieldError | void | ||
SetFieldInControl | void |
Method | Description | |
---|---|---|
Create ( SenseNet.ContentRepository content, System aspNetPage, ViewMode mode ) : |
Creates the ContenView for the
|
|
Create ( SenseNet.ContentRepository content, System aspNetPage, ViewMode mode, string viewPath ) : |
Creates the ContenView for the
|
|
OnCommandButtonsAction ( object sender, CommandButtonType commandButtonType, bool &cancelled ) : void | ||
OnCommandButtonsAction ( object sender, CommandButtonType commandButtonType, string customCommand, bool &cancelled ) : void | ||
OnCommandButtonsAction ( object sender, string customCommand, bool &cancelled ) : void | ||
OnUserAction ( object sender, string actionName, string eventName ) : void |
Fires all EventHandlers registered for UserAction.
|
|
UpdateContent ( ) : void |
Updates and validates data of
|
|
UpdateContent ( bool withValidate ) : void |
Updates data of
|
Method | Description | |
---|---|---|
CallDone ( ) : void | ||
CallDone ( bool endResponse ) : void | ||
GetValue ( string name ) : string | ||
IsIndexedField ( string text ) : bool | ||
OnViewInitialize ( ) : void | ||
Render ( System.Web.UI.HtmlTextWriter writer ) : void |
Renders the view. Should an error occur (ContentException being set) and there are no error controls registered then the error message will rendered in the top of the view. Otherwise errors (if any) are viewed within the registered error control(s). |
|
StripIndex ( string text ) : string |
Method | Description | |
---|---|---|
AddContentViewToCache ( string path, |
||
CreateFromActualPath ( SenseNet.ContentRepository content, System aspNetPage, ViewMode viewMode, string viewPath ) : |
||
CreateFromViewRoot ( SenseNet.ContentRepository content, System aspNetPage, ViewMode mode, string viewRoot ) : |
||
GetContentViewFromCache ( string path ) : |
||
GetDefaultControlRenderMode ( ViewMode viewMode ) : FieldControlRenderMode | ||
GetGenericPath ( SenseNet.ContentRepository content, ViewMode mode, string viewRoot ) : string | ||
GetIndexedFieldValue ( string text ) : int | ||
GetProperty ( string name ) : string | ||
GetString ( string name ) : string | ||
GetString ( string className, string name ) : string | ||
GetTypeDependentPath ( SenseNet.ContentRepository content, ViewMode mode, string viewRoot ) : string | ||
GetValue ( string name, SenseNet.ContentRepository parentContent ) : string | ||
GetValue ( string name, SenseNet.ContentRepository parentContent, OutputMethod outputMethod ) : string |
Gets a the specified property belonging to the Content of the View in a safe way.
|
|
Initialize ( SenseNet.ContentRepository content, ViewMode viewMode ) : void | ||
RegisterControl ( ViewControlBase control ) : |
||
RegisterErrorControl ( |
||
RegisterFieldControl ( |
||
ResolveContentViewPath ( SenseNet.ContentRepository content, ViewMode mode, string path ) : string | ||
SetContentViewFieldError ( ) : void | ||
SetFieldInControl ( |
protected CallDone ( bool endResponse ) : void | ||
endResponse | bool | |
return | void |
public static Create ( SenseNet.ContentRepository content, System aspNetPage, ViewMode mode ) : |
||
content | SenseNet.ContentRepository | The Content belonging to the the ContentView |
aspNetPage | System | |
mode | ViewMode | The ViewMode in which FieldControls of the ContentView will be rendered |
return |
public static Create ( SenseNet.ContentRepository content, System aspNetPage, ViewMode mode, string viewPath ) : |
||
content | SenseNet.ContentRepository | The Content belonging to the the ContentView |
aspNetPage | System | |
mode | ViewMode | The ViewMode in which FieldControls of the ContentView will be rendered |
viewPath | string | The location of the file defining the ContentView |
return |
protected static IsIndexedField ( string text ) : bool | ||
text | string | |
return | bool |
public OnCommandButtonsAction ( object sender, CommandButtonType commandButtonType, bool &cancelled ) : void | ||
sender | object | |
commandButtonType | CommandButtonType | |
cancelled | bool | |
return | void |
public OnCommandButtonsAction ( object sender, CommandButtonType commandButtonType, string customCommand, bool &cancelled ) : void | ||
sender | object | |
commandButtonType | CommandButtonType | |
customCommand | string | |
cancelled | bool | |
return | void |
public OnCommandButtonsAction ( object sender, string customCommand, bool &cancelled ) : void | ||
sender | object | |
customCommand | string | |
cancelled | bool | |
return | void |
public OnUserAction ( object sender, string actionName, string eventName ) : void | ||
sender | object | Object from where the call is originating from |
actionName | string | Name of the action needed to be handled |
eventName | string | Name of the event needed to be handled |
return | void |
protected Render ( System.Web.UI.HtmlTextWriter writer ) : void | ||
writer | System.Web.UI.HtmlTextWriter | |
return | void |
protected static StripIndex ( string text ) : string | ||
text | string | |
return | string |
public UpdateContent ( bool withValidate ) : void | ||
withValidate | bool | Whether the Updates data of |
return | void |