C# Class SenseNet.Portal.Portlets.ContentCollection.ParametricSearchPortlet

Class for representing Parametric Search Portlet. It inherits from ContentCollectionPortlet.
Inheritance: ContentCollectionPortlet
Exibir arquivo Open project: maxpavlov/FlexNet

Private Properties

Property Type Description

Public Methods

Method Description
ParametricSearchPortlet ( ) : System

Protected Methods

Method Description
CreateChildControls ( ) : void

Creates the child controls. Parents logic moved to OnPreRender(). It renders input renderer.

GetQueryFilter ( ) : string
OnPreRender ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.PreRender event. Parents CreateChildControls() logic moved here for processing data of input renderer.

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

Renders the specified writer. It renders input renderer in case of Xslt rendering.

RenderWithXslt ( System.Web.UI.HtmlTextWriter writer ) : void
ReplaceTemplateWildCards ( string pattern, string userPattern, string template ) : string

Replaces the template wild cards. For example: If template contains %wildcard% and input renderer contains a textbox with 'wildcard' ID then %wildcard% will changed to Text property of corresponding textbox.

Method Details

CreateChildControls() protected method

Creates the child controls. Parents logic moved to OnPreRender(). It renders input renderer.
protected CreateChildControls ( ) : void
return void

GetQueryFilter() protected method

protected GetQueryFilter ( ) : string
return string

OnPreRender() protected method

Raises the E:System.Web.UI.Control.PreRender event. Parents CreateChildControls() logic moved here for processing data of input renderer.
protected OnPreRender ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
return void

ParametricSearchPortlet() public method

public ParametricSearchPortlet ( ) : System
return System

Render() protected method

Renders the specified writer. It renders input renderer in case of Xslt rendering.
protected Render ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The writer.
return void

RenderWithXslt() protected method

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

ReplaceTemplateWildCards() protected method

Replaces the template wild cards. For example: If template contains %wildcard% and input renderer contains a textbox with 'wildcard' ID then %wildcard% will changed to Text property of corresponding textbox.
protected ReplaceTemplateWildCards ( string pattern, string userPattern, string template ) : string
pattern string The pattern which determines changing logic.
userPattern string
template string The template.
return string