C# Class SenseNet.Portal.UI.Controls.ActionMenu

Inheritance: System.Web.UI.WebControls.Label, IScriptControl, IActionUiAdapter
Exibir arquivo Open project: maxpavlov/FlexNet Class Usage Examples

Private Properties

Property Type Description
GetPathFromContentView string
PrepareWrapperCssClass string
SetServiceUrl void

Public Methods

Method Description
FindContainerActionMenu ( Control control ) : ActionMenu
GetReplacedScenarioParameters ( ) : string
GetScriptDescriptors ( ) : IEnumerable

Gets a collection of script descriptors that represent ECMAScript (JavaScript) client components.

GetScriptReferences ( ) : IEnumerable

Gets a collection of T:System.Web.UI.ScriptReference objects that define script resources that the control requires.

RenderBeginTag ( System.Web.UI.HtmlTextWriter writer ) : void
RenderEndTag ( System.Web.UI.HtmlTextWriter writer ) : void

Protected Methods

Method Description
CreateChildControls ( ) : void
OnInit ( EventArgs e ) : void
OnPreRender ( EventArgs e ) : void
Render ( System.Web.UI.HtmlTextWriter writer ) : void

Private Methods

Method Description
GetPathFromContentView ( Control parent ) : string
PrepareWrapperCssClass ( ) : string
SetServiceUrl ( ) : void

Sets the callback URL of the ActionMenu. It represents the service url with correct parameters for the actions.

Method Details

CreateChildControls() protected method

protected CreateChildControls ( ) : void
return void

FindContainerActionMenu() public static method

public static FindContainerActionMenu ( Control control ) : ActionMenu
control System.Web.UI.Control
return ActionMenu

GetReplacedScenarioParameters() public method

public GetReplacedScenarioParameters ( ) : string
return string

GetScriptDescriptors() public method

Gets a collection of script descriptors that represent ECMAScript (JavaScript) client components.
public GetScriptDescriptors ( ) : IEnumerable
return IEnumerable

GetScriptReferences() public method

Gets a collection of T:System.Web.UI.ScriptReference objects that define script resources that the control requires.
public GetScriptReferences ( ) : IEnumerable
return IEnumerable

OnInit() protected method

protected OnInit ( EventArgs e ) : void
e System.EventArgs
return void

OnPreRender() protected method

protected OnPreRender ( EventArgs e ) : void
e System.EventArgs
return void

Render() protected method

protected Render ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter
return void

RenderBeginTag() public method

public RenderBeginTag ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter
return void

RenderEndTag() public method

public RenderEndTag ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter
return void