.NET Web Stats

NetStats Methods

The methods of the NetStats class are listed below. For a complete list of NetStats class members, see the NetStats Members topic.

Public Instance Methods

ApplyStyle (inherited from WebControl) Copies any nonblank elements of the specified style to the Web control, overwriting any existing style elements of the control. This method is primarily used by control developers.
CompactDatabase Compacts the database
CopyBaseAttributes (inherited from WebControl) Copies the properties not encapsulated by the Style object from the specified Web server control to the Web server control that this method is called from. This method is used primarily by control developers.
DataBind (inherited from Control) Binds a data source to the invoked server control and all its child controls.
Dispose Disposes the control
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
FindControl (inherited from Control)Overloaded. Searches the current naming container for a server control with the specified id parameter.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
HasControls (inherited from Control) Determines if the server control contains any child controls.
MergeStyle (inherited from WebControl) Copies any nonblank elements of the specified style to the Web control, but will not overwrite any existing style elements of the control. This method is used primarily by control developers.
Persist Persists the collected statistics to the database. If this method is not called and count is set to true, the data will persist when the control is rendered.
RenderBeginTag (inherited from WebControl) Renders the HTML opening tag of the control into the specified writer. This method is used primarily by control developers.
RenderControl (inherited from Control) Outputs server control content to a provided HtmlTextWriter object and stores tracing information about the control if tracing is enabled.
RenderEndTag (inherited from WebControl) Renders the HTML closing tag of the control into the specified writer. This method is used primarily by control developers.
ResolveUrl (inherited from Control) Converts a URL into one that is usable on the requesting client.
SetRenderMethodDelegate (inherited from Control) 
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

AddAttributesToRender (inherited from WebControl) Adds HTML attributes and styles that need to be rendered to the specified HtmlTextWriter. This method is used primarily by control developers.
AddParsedSubObject (inherited from Control) Notifies the server control that an element, either XML or HTML, was parsed, and adds the element to the server control's ControlCollection object.
BuildProfileTree (inherited from Control) 
ClearChildViewState (inherited from Control) Deletes the view-state information for all the server control's child controls.
CreateChildControls Creates menu controls
CreateControlCollection (inherited from Control) Creates a new ControlCollection object to hold the child controls (both literal and server) of the server control.
CreateControlStyle (inherited from WebControl) Creates the style object that is used internally by the WebControl class to implement all style related properties. This method is used primarily by control developers.
EnsureChildControls (inherited from Control) Determines whether the server control contains child controls. If it does not, it creates child controls.
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FindControl (inherited from Control)Overloaded.  
IsLiteralContent (inherited from Control) Determines if the server control holds only literal content.
LoadViewState (inherited from WebControl) 
MapPathSecure (inherited from Control) Retrieves the physical path that a virtual path, either absolute or relative, maps to.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnBubbleEvent Handles menu links
OnDataBinding (inherited from Control) Raises the DataBinding event.
OnInit (inherited from Control) Raises the Init event.
OnLoad (inherited from Control) Raises the Load event.
OnPreRender (inherited from Control) Raises the PreRender event.
OnUnload (inherited from Control) Raises the Unload event.
Note    Server controls should perform any final cleanup, such as closing files, closing database connections, and discarding objects, during this stage of the server control lifecycle.
RaiseBubbleEvent (inherited from Control) Assigns any sources of the event and its information to the control's parent.
Render Writes the Control to the Browser
RenderChildren (inherited from Control) Outputs the content of a server control's children to a provided HtmlTextWriter object, which writes the content to be rendered on the client.
RenderContents (inherited from WebControl) Renders the contents of the control into the specified writer. This method is used primarily by control developers.
SaveViewState (inherited from WebControl) 
TrackViewState (inherited from WebControl) 

Protected Internal Instance Methods

AddedControl (inherited from Control) Called after a control is added to the Controls collection of another control.
RemovedControl (inherited from Control) Called after a control is removed from the Controls collection of another control.

See Also

NetStats Class | PrimalBlue.Web.Stats Namespace