下面列出了 AspNetPager 类的方法。有关 AspNetPager 类成员的完整列表,请参阅 AspNetPager 成员主题。

公共实例方法

ApplyStyle (从 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.
ApplyStyleSheetSkin (从 Control 继承)Applies the style properties defined in the page style sheet to the control.
CopyBaseAttributes (从 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 (从 Control 继承)已重载。Binds a data source to the invoked server control and all its child controls.
Dispose (从 Control 继承)Enables a server control to perform final clean up before it is released from memory.
Equals (从 Object 继承)Determines whether the specified Object is equal to the current Object.
FindControl (从 Control 继承)已重载。Searches the current naming container for a server control with the specified id parameter.
Focus (从 Control 继承)Sets input focus to a control.
GetHashCode (从 Object 继承)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (从 Object 继承)Gets the Type of the current instance.
HasControls (从 Control 继承)Determines if the server control contains any child controls.
LoadPostData 实现 IPostBackDataHandler 接口,为 AspNetPager 服务器控件处理回发数据。
MergeStyle (从 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.
RaisePostBackEvent 实现IPostBackEventHandler 接口,使 AspNetPager 控件能够处理将窗体发送到服务器时引发的事件。
RaisePostDataChangedEvent 实现 IPostBackDataHandler 接口,用信号要求服务器控件对象通知 ASP.NET 应用程序该控件的状态已更改。
RenderBeginTag 重写 RenderBeginTag 方法,将 AspNetPager 控件的 HTML 开始标记输出到指定的 HtmlTextWriter 编写器中。
RenderControl (从 Control 继承)已重载。Outputs server control content to a provided HtmlTextWriter object and stores tracing information about the control if tracing is enabled.
RenderEndTag 重写 RenderEndTag 方法,将 AspNetPager 控件的 HTML 结束标记输出到指定的 HtmlTextWriter 编写器中。
ResolveClientUrl (从 Control 继承)Gets a URL that can be used by the browser.
ResolveUrl (从 Control 继承)Converts a URL into one that is usable on the requesting client.
SetRenderMethodDelegate (从 Control 继承)Assigns an event handler delegate to render the server control and its content into its parent control.
ToString (从 Object 继承)Returns a String that represents the current Object.

受保护的实例方法

AddAttributesToRender 重写AddAttributesToRender 方法,将需要呈现的 HTML 属性和样式添加到指定的 HtmlTextWriter
AddParsedSubObject (从 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 (从 Control 继承)Gathers information about the server control and delivers it to the Trace property to be displayed when tracing is enabled for the page.
ClearChildControlState (从 Control 继承)Deletes the control-state information for the server control's child controls.
ClearChildState (从 Control 继承)Deletes the view-state and control-state information for all the server control's child controls.
ClearChildViewState (从 Control 继承)Deletes the view-state information for all the server control's child controls.
CreateControlCollection (从 Control 继承)Creates a new ControlCollection object to hold the child controls (both literal and server) of the server control.
CreateControlStyle (从 Panel 继承)Creates a style object that is used internally by the Panel control to implement all style related properties.
DataBind (从 Control 继承)已重载。Binds a data source to the invoked server control and all its child controls with an option to raise the DataBinding event.
DataBindChildren (从 Control 继承)Binds a data source to the server control's child controls.
EnsureChildControls (从 Control 继承)Determines whether the server control contains child controls. If it does not, it creates child controls.
EnsureID (从 Control 继承)Creates an identifier for controls that do not have an identifier assigned.
Finalize (从 Object 继承)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FindControl (从 Control 继承)已重载。Searches the current naming container for a server control with the specified id and an integer, specified in the pathOffset parameter, which aids in the search. You should not override this version of the FindControl method.
GetDesignModeState (从 Control 继承)Gets design-time data for a control.
HasEvents (从 Control 继承)Returns a value indicating whether events are registered for the control or any child controls.
IsLiteralContent (从 Control 继承)Determines if the server control holds only literal content.
LoadViewState (从 WebControl 继承)Restores view-state information from a previous request that was saved with the SaveViewState method.
MemberwiseClone (从 Object 继承)Creates a shallow copy of the current Object.
OnBubbleEvent (从 Control 继承)Determines whether the event for the server control is passed up the page's UI server control hierarchy.
OnDataBinding (从 Control 继承)Raises the DataBinding event.
OnInit 重写 OnInit 方法。
OnLoad 重写 OnLoad 方法。
OnPageChanged 引发 PageChanged 事件。这使您可以为事件提供自定义处理程序。
OnPageChanging 引发 PageChanging 事件。这使您可以为事件提供自定义处理程序。
OnPreRender 重写OnPreRender方法。
RaiseBubbleEvent (从 Control 继承)Assigns any sources of the event and its information to the control's parent.
RenderContents 重写 RenderContents 方法,将控件的内容呈现到指定 HtmlTextWriter 的编写器中。
RenderControl (从 Control 继承)已重载。Outputs server control content to a provided HtmlTextWriter object using a provided ControlAdapter object.
ResolveAdapter (从 Control 继承)Gets the control adapter responsible for rendering the specified control.
SaveViewState (从 WebControl 继承)Saves any state that was modified after the TrackViewState method was invoked.
SetDesignModeState (从 Control 继承)Sets design-time data for a control.
TrackViewState (从 WebControl 继承)Causes the control to track changes to its view state so they can be stored in the object's ViewState property.

受保护的内部实例方法

AddedControl (从 Control 继承)Called after a child control is added to the Controls collection of the Control object.
CreateChildControls (从 Control 继承)Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering.
LoadControlState (从 Control 继承)Restores control-state information from a previous page request that was saved by the SaveControlState method.
MapPathSecure (从 Control 继承)Retrieves the physical path that a virtual path, either absolute or relative, maps to.
OnUnload (从 Control 继承)Raises the Unload event.
OpenFile (从 Control 继承)Gets a Stream used to read a file.
RemovedControl (从 Control 继承)Called after a control is removed from the Controls collection of another control.
Render (从 WebControl 继承)Renders the control to the specified HTML writer.
RenderChildren (从 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.
SaveControlState (从 Control 继承)Saves any server control state changes that have occurred since the time the page was posted back to the server.

请参见

AspNetPager 类 | AspNetPager 成员 | Wuqi.Webdiyer 命名空间