C# Class SenseNet.Portal.Portlets.RatingSearchPortlet

Inheritance: SenseNet.Portal.UI.PortletFramework.ContextBoundPortlet
Show file Open project: maxpavlov/FlexNet

Private Properties

Property Type Description
CreateControls void
GetResult IEnumerable
GetSearchedRatingFrom string
GetSearchedRatingTo string
viewControl_TagSearch string

Public Methods

Method Description
RatingSearchPortlet ( ) : System

Initalize the portlet name and description

Protected Methods

Method Description
CreateChildControls ( ) : void

Owerrided method, initalize the portlet

Private Methods

Method Description
CreateControls ( ) : void

Load the content view if possible, and get the attributes for it.

GetResult ( string from, string to ) : IEnumerable

Get the search result.

GetSearchedRatingFrom ( ) : string

Get the value which searching from.

GetSearchedRatingTo ( ) : string

Get the last value which searching to.

viewControl_TagSearch ( EventArgs e, string from, string to ) : string

This method handled the Searvhing event, and return an url which has new parameter.

Method Details

CreateChildControls() protected method

Owerrided method, initalize the portlet
protected CreateChildControls ( ) : void
return void

RatingSearchPortlet() public method

Initalize the portlet name and description
public RatingSearchPortlet ( ) : System
return System