DataResultBase members
Defines all the general rendering properties and methods for data results. The DataResultBase class is the base class for the QueryResultBase class, which is the base class for the SearchResults Web Part in the search results page.
The DataResultBase type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DataResultBase | Initializes a new instance of the DataResultBase class. |
Top
Properties
Name | Description | |
---|---|---|
AdvancedPagingControlMode | Gets or sets the paging control mode of the WebPart. | |
AlternatingCssClass | Gets or sets the name of a CSS class defining alternating row display characteristics. | |
CollapseGroupString | Gets or sets the string that will be displayed with the collapse results control. | |
ColumnDisplayNames | Gets or sets the column heading names. | |
ColumnNumberForEachItem | Gets or sets the number of columns to display in the first row for each item in the result set. | |
ColumnURIs | Gets or sets the Uniform Resource Identifiers (URIs) associated with the columns. This enables you to choose the property on which the column will sort. | |
ColumnWidths | Gets or sets the width of columns in the search results page. | |
DataColumnURISchema | ||
DefaultGroupBy | Gets or sets the default column name by which to group the results. | |
DefaultSortBy | Gets or sets the default column name by which to sort the results. | |
EnableQueryLogging | Gets or sets a value that enables query logging. | |
EnableSmartGrouping | Gets or sets a value that enables smart grouping on the result set. | |
EnableSQLCommandLogging | Gets or sets a value that enables SQL command logging. | |
ExpandGroupString | ||
FixLayout | Gets or sets a value that indicates direct control of the table style. | |
GroupByList | Gets or sets the list of properties to group by. | |
IsItemIconClickable | ||
MaxGroupPreviewNum | ||
MaxMatchingItemsNumber | Gets or sets the upper limit of the number of documents that are displayed in one result page. | |
OpenNewWindowForMatchingItems | ||
ResultListID | Gets or sets the identifier of the results Web Part. | |
RowNumberForEachItem | ||
ShowRankForEachItem | ||
SortByList | Gets or sets the list of properties to sort on. | |
SupportExpandCollapseAll | ||
SupportGroupBy | ||
SupportItemIcon | ||
SupportPaging | ||
SupportShowHideDetail | ||
SupportSortBy | ||
TextForNoResults | The text displayed when no query results are returned. The initial value is "", no string will be displayed. But QueryResultBase sets the value to be the default standard warning string. | |
UseAlternatingColors |
Top
Methods
Name | Description | |
---|---|---|
AcquireHugeStringBuilder | This member is reserved for internal use and is not intended to be used directly from your code. | |
AcquireStringBuilder | This member is reserved for internal use and is not intended to be used directly from your code. | |
CreateActionMenusTemplates | Creates action menu templates to avoid creating separate menus for each results item. | |
CreateChildControls | Creates the control tree for the result set. (Overrides WebPartLocCreateChildControls().) | |
GetCurrentRow | ||
GetQueryResults | GetQueryResults is designed for supporting async query. It should wait until the query finished. returned is the DataSet of query result. | |
GetTotalMatchingItemNum | ||
GetTotalResultRowNumber | ||
IssueQuery | IssueQuery will issue the query and return a handle for the result in case of asynchronous query. | |
OnInit | OnInit event handler called at the INIT time of this contro. History: 01/01/02: Created 04/19/02: Move GenerateQuery to OnLoad() and leave it blank here for base class. Subclass can still override it. (Overrides WebPartLocOnInit(Object, EventArgs).) | |
OnLoad | OnLoad: Most of the query job is done here. Get everything from the page form and issue query. overridable function since subclass want to control exact sequence of calling it (Overrides WebPartLocOnLoad(Object, EventArgs).) | |
OnPreRender | (Overrides WebPartLocOnPreRender(Object, EventArgs).) | |
ReleaseHugeStringBuilder | ||
ReleaseStringBuilder | ||
RenderOneColumnTitle | RenderOneColumnTitle will render one column title link. Note: paire are rendered outside this function. | |
RenderWebPart | overrided webpart function. It get the result query and produce the final layout (Overrides WebPartLocRenderWebPart(HtmlTextWriter).) |
Top
Fields
Name | Description | |
---|---|---|
_GroupColumns | This member is reserved for internal use and is not intended to be used directly from your code. | |
DropDownAdvancedPagingControl | ||
IsAdminContextOnly | ||
NoAdvancedPagingControl | ||
OutOfContext | ||
TextAdvancedPagingControl | ||
UseHugeStringBuilderBuffer | ||
WssStylePagingControl | WssStylePagingControlMode = 0 => should be maintained to always look like the default SPDataGrid paging control. AdvancedPagingControlMode = 1 => textbox as advanced direct paging control. AdvancedPagingControlMode = 2 => dropdown listbox. AdvancedPagingControlMode = 3 => None. Don't show it. Any future mode ? ... |
Top