#StyleControl

##Properties

Datatype Property name Property description Default Value
Boolean AddBookmarkForVisualGroup Determines whether the "Add bookmark for each visual group" checkbox is checked by default. null
Dictionary AllReports Gets or sets the list of all possible report definitions that can be used with this control. null
String AppRelativeTemplateSourceDirectory Gets or sets the application-relative virtual directory of the System.Web.UI.Page or System.Web.UI.UserControl object that contains this control. String.Empty
Control BindingContainer Gets the control that contains this control's data binding. null
String ClientID Gets the server control identifier generated by ASP.NET. String.Empty
ClientIDMode ClientIDMode   Inherit
String ColumnsWidth Gets or sets the default value of the "Columns Width" textbox. null
String ContentTableAttributes Gets or sets the style attributes that will be used for HTML tables generated by this control. String.Empty
ControlCollection Controls Gets a System.Web.UI.ControlCollection object that represents the child controls for a specified server control in the UI hierarchy. Depends on the controls added to the page
String CustomCss Gets or sets the default value for the "CSS" text area control. null
Control DataItemContainer   null
Control DataKeysContainer   null
Int32 DefaultRowCount Gets or sets the default number of rows to render for this control when it is initialized. 1
Boolean DesignMode Gets or sets the value indicating whether the state of this control is "design mode". null
Boolean EnableTheming Gets or sets a value indicating whether themes apply to this control. True
Boolean EnableViewState Gets or sets a value indicating whether the server control persists its view state, and the view state of any child controls it contains, to the requesting client. True
Int32 FieldValueColumnPairs Gets or sets the default value of the Field|Value pairs textbox. null
Boolean FieldValueDetail Determines whether the checkbox for "Show Main Report in Field|Value Style" is checked. False
Boolean FieldValueSummary Determines whether the "Show Summary Report in Field|Value Style" checkbox is checked by default. False
String ID Gets or sets the programmatic identifier assigned to the server control. null
String InsertAboveImageUrl Gets or sets the web address that is used to locate the image resource for the "Insert Above" operation. rs.aspx?image=insert-above.gif
String InsertBelowImageUrl Gets or sets the web address that is used to locate the image resource for the "Insert Below" operation. rs.aspx?image=insert-below.gif
StringCollection Items   {}
Int32 ItemsPerPage Gets or sets the default value for the "Items Per Page" textbox. null
Boolean LandscapePrinting Determines whether the "Landscape printing" checkbox is checked by default. null
Int32 MaxRowCount Gets or sets the maximum number of rows that can be rendered when the control is initialized. 1000
Boolean MinimizeGridWidth Determines whether the "Minimize Grid Width" checkbox is checked by default. null
Int32 MinRowCount Gets or sets the minimum number of rows that will be rendered when the control is initialized. 1
String MoveDownImageUrl Gets or sets the web address that is used to locate the image resource for the "Move Down" operation. rs.aspx?image=move-down.gif
String MoveUpImageUrl Gets or sets the web address that is used to locate the image resource for the "Move Up" operation. rs.aspx?image=move-up.gif
Control NamingContainer Gets a reference to the server control's naming container, which creates a unique namespace for differentiating between server controls with the same ID property value. null
Page Page Gets a reference to the System.Web.UI.Page instance that contains the server control. null
Boolean PageBreakAfterVisualGroups Determines whether the "Page Break After Visual Groups" checkbox is checked by default. null
Control Parent Gets a reference to the server control's parent control in the page control hierarchy. null
Int32 PivotsPerPage   0
String PlusImageUrl   rs.aspx?image=add.gif
String RemoveImageUrl Gets or sets the web address that is used to locate the image resource for the "Delete" operation. rs.aspx?image=delete-red.gif
Version RenderingCompatibility   4.0
Boolean ShowDateTime Determines whether the "Show date and time" checkbox is checked by default. null
Boolean ShowHeader Determines whether this control should render the table header section for the entire control when it is initialized. True
Boolean ShowPageNumberInPdf Determines whether the "Show page number" checkbox is checked by default. null
Boolean ShowReportsOrder Determines whether the "Report order" section of the control is displayed. True
Boolean ShowVisualGroupLabels Determines whether field names should be shown in visual group header. (deprecated) False
ISite Site Gets information about the container that hosts the current control when rendered on a design surface. null
String SkinID Gets or sets the skin to apply to the control. String.Empty
ListItemCollection TargetReports Gets or sets the list of possible reports that this control can use in a dropdown menu plus a default option (…). null
TemplateControl TemplateControl Gets or sets a reference to the template that contains this control. null
String TemplateHtml Gets or sets the default value for the hidden report form template control. null
String TemplateSourceDirectory Gets the virtual directory of the System.Web.UI.Page or System.Web.UI.UserControl that contains the current server control. String.Empty
String UniqueID Gets the unique, hierarchically qualified identifier for the server control. null
Boolean UsePaginationInWebView Determines whether the "Use pagination" checkbox is checked by default. null
ValidateRequestMode ValidateRequestMode   Inherit
ViewStateMode ViewStateMode   Inherit
Boolean Visible Gets or sets a value that indicates whether a server control is rendered as UI on the page. True
VisualGroupStyle VisualGroupStyle Gets or sets the default value of the Visual Group Style dropdown menu. CommaDelimited

##Methods

###ApplyStyleSheetSkin(System.Web.UI.Page) Applies the style properties defined in the page style sheet to the control.

Parameters:


###CreateAttribute(System.String,System.String) Gets a formatted System.String that can be used for HTML or CSS attributes.

Parameters:

Returns:

The formatted System.String representation of the HTML or CSS property.


###DataBind() Binds a data source to the invoked server control and all its child controls.


###Dispose() Enables a server control to perform final clean up before it is released from memory.


###Equals(System.Object) Determines whether the specified System.Object is equal to the current System.Object.

Parameters:

Returns:

true if the specified System.Object is equal to the current System.Object; otherwise, false.


###FindControl(System.String) Searches the current naming container for a server control with the specified <paramref name="id parameter.

Parameters:

Returns:

The specified control, or null if the specified control does not exist.


###Focus() Sets input focus to a control.


###GetHashCode() Serves as a hash function for a particular type.

Returns:

A hash code for the current System.Object.


###GetRouteUrl(System.Object)

Parameters:


###GetRouteUrl(System.String,System.Object)

Parameters:


###GetRouteUrl(System.Web.Routing.RouteValueDictionary)

Parameters:


###GetRouteUrl(System.String,System.Web.Routing.RouteValueDictionary)

Parameters:


###GetType() Gets the System.Type of the current instance.

Returns:

The System.Type instance that represents the exact runtime type of the current instance.


###GetUniqueIDRelativeTo(System.Web.UI.Control)

Parameters:


###HasControls() Determines if the server control contains any child controls.

Returns:

true if the control contains other controls; otherwise, false.


###RenderControl(System.Web.UI.HtmlTextWriter) Outputs server control content to a provided System.Web.UI.HtmlTextWriter object and stores tracing information about the control if tracing is enabled.

Parameters:


###ResolveClientUrl(System.String) Gets a URL that can be used by the browser.

Parameters:

  • System.String relativeUrl - A URL relative to the current page.

Returns:

A fully qualified URL to the specified resource suitable for use on the browser.


###ResolveUrl(System.String) Converts a URL into one that is usable on the requesting client.

Parameters:

Returns:

The converted URL.


###SetRenderMethodDelegate(System.Web.UI.RenderMethod) Assigns an event handler delegate to render the server control and its content into its parent control.

Parameters:

  • System.Web.UI.RenderMethod renderMethod - The information necessary to pass to the delegate so that it can render the server control.

###SetTraceData(System.Object,System.Object)

Parameters:


###SetTraceData(System.Object,System.Object,System.Object)

Parameters:


###ToString() Returns a System.String that represents the current System.Object.

Returns:

A System.String that represents the current System.Object.


###UpdateControlState() Updates the state of this control with the corresponding property values on the current report.


###UpdateReportSet() Updates the state of the currently loaded report with the corresponding property values on this control.