AspNetPager 构造函数
|
初始化 AspNetPager 类的新实例。 |
AccessKey (从 WebControl 继承) | Gets or sets the access key that allows you to quickly navigate to the Web server control. |
AlwaysShow | 获取或设置一个值,该值指定是否总是显示AspNetPager分页按件,即使要分页的数据只有一页。 |
AlwaysShowFirstLastPageNumber | 获取或设置一个值,该值指定是否总是显示第一页和最后一页数字页索引按钮。 |
AppRelativeTemplateSourceDirectory (从 Control 继承) | Gets or sets the application-relative virtual directory of the Page or UserControl object that contains this control. |
Attributes (从 WebControl 继承) | Gets the collection of arbitrary attributes (for rendering only) that do not correspond to properties on the control. |
BackColor (从 WebControl 继承) | Gets or sets the background color of the Web server control. |
BackImageUrl (从 Panel 继承) | Gets or sets the URL of the background image for the panel control. |
BindingContainer (从 Control 继承) | Gets the control that contains this control's data binding. |
BorderColor (从 WebControl 继承) | Gets or sets the border color of the Web control. |
BorderStyle (从 WebControl 继承) | Gets or sets the border style of the Web server control. |
BorderWidth (从 WebControl 继承) | Gets or sets the border width of the Web server control. |
ButtonImageAlign | 指定当使用图片按钮时,图片的对齐方式。 |
ButtonImageExtension | 获取或设置当使用图片按钮时,图片的类型,如gif或jpg,该值即图片文件的后缀名。 |
ButtonImageNameExtension | 获取或设置已禁用的页导航按钮图片名后缀字符串。 |
ClientID (从 Control 继承) | Gets the server control identifier generated by ASP.NET. |
CloneFrom | 获取或设置要克隆属性值及事件处理程序的另一个 AspNetPager 的ID。 |
Controls (从 Control 继承) | Gets a ControlCollection object that represents the child controls for a specified server control in the UI hierarchy. |
ControlStyle (从 WebControl 继承) | Gets the style of the Web server control. This property is used primarily by control developers. |
ControlStyleCreated (从 WebControl 继承) | Gets a value indicating whether a Style object has been created for the ControlStyle property. This property is primarily used by control developers. |
CpiButtonImageNameExtension | 获取或设置当前页索引按钮的图片名后缀。 |
CssClass | 获取或设置由 AspNetPager 服务器控件在客户端呈现的级联样式表 (CSS) 类。 |
CurrentPageButtonClass | 获取或设置AspNetPager分页控件当前页导航按钮的级联样式表 (CSS) 类。 |
CurrentPageButtonPosition | 当前页数字按钮在所有数字分页按钮中的位置,可选值为:Beginning(最前)、End(最后)、Center(居中)和Fixed(默认固定) |
CurrentPageButtonStyle | 获取或设置AspNetPager分页控件当前页导航按钮的CSS样式文本。 |
CurrentPageButtonTextFormatString | 获取或设置当前页数值导航按钮上文本的显示格式。 |
CurrentPageIndex | 获取或设置当前显示页的索引。 |
CustomInfoClass | 获取或设置应用于用户自定义信息区的级联样式表类名。 |
CustomInfoHTML | 获取或设置在显示在用户自定义信息区的用户自定义HTML文本内容。 |
CustomInfoSectionWidth | 获取或设置用户自定义信息区的宽度。 |
CustomInfoStyle | 获取或设置应用于用户自定义信息区的CSS样式文本。 |
CustomInfoTextAlign | 获取或设置用户自定义信息区文本的对齐方式。 |
DefaultButton (从 Panel 继承) | Gets or sets the identifier for the default button that is contained in the Panel control. |
Direction (从 Panel 继承) | Gets or sets the direction in which to display controls that include text in a Panel control. |
DisabledButtonImageNameExtension | |
Enabled (从 WebControl 继承) | Gets or sets a value indicating whether the Web server control is enabled. |
EnableTheming | 获取或设置一个值,该值指定是否为控件应用主题。 |
EnableUrlRewriting | 获取或设置一个值,该值指定是否启用URL重写。 |
EnableViewState (从 Control 继承) | 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. |
EndRecordIndex | 当前页最后一条记录的索引。 |
FirstPageText | 获取或设置为第一页按钮显示的文本。 |
Font (从 WebControl 继承) | Gets the font properties associated with the Web server control. |
ForeColor (从 WebControl 继承) | Gets or sets the foreground color (typically the color of the text) of the Web server control. |
GroupingText (从 Panel 继承) | Gets or sets the caption for the group of controls that is contained in the panel control. |
HasAttributes (从 WebControl 继承) | Gets a value indicating whether the control has attributes set. |
Height (从 WebControl 继承) | Gets or sets the height of the Web server control. |
HorizontalAlign (从 Panel 继承) | Gets or sets the horizontal alignment of the contents within the panel. |
ID (从 Control 继承) | Gets or sets the programmatic identifier assigned to the server control. |
ImagePath | 获取或设置当使用图片按钮时,图片文件的路径。 |
InvalidPageIndexErrorMessage | 获取或设置当用户输入无效的页索引(负值或非数字)时在客户端显示的错误信息。 |
LastPageText | 获取或设置为最后一页按钮显示的文本。 |
LayoutType | |
MoreButtonType | 获取或设置“更多页”(...)按钮的类型,该值仅当PagingButtonType设为Image时才有效。 |
NamingContainer (从 Control 继承) | 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. |
NavigationButtonsPosition | 首页、上页、下页和尾页四个导航按钮在分页导航元素中的位置,可选值为:Left(全在左侧)、Right(全在右侧)、BothSides(默认值,分布于两侧)。 |
NavigationButtonType | 获取或设置第一页、上一页、下一页和最后一页按钮的类型,该值仅当PagingButtonType设为Image时才有效。 |
NavigationToolTipTextFormatString | 获取或设置导航按钮工具提示文本的格式。 |
NextPageText | 获取或设置为下一页按钮显示的文本。 |
NumericButtonCount | 获取或设置在 AspNetPager 控件的页导航元素中同时显示的数值按钮的数目。 |
NumericButtonTextFormatString | 获取或设置页索引数值导航按钮上文本的显示格式。 |
NumericButtonType | 获取或设置页导航数值按钮的类型,该值仅当PagingButtonType设为Image时才有效。 |
Page (从 Control 继承) | Gets a reference to the Page instance that contains the server control. |
PageCount | 获取所有要分页的记录需要的总页数。 |
PageIndexBoxClass | 获取或设置应用于页索引输入文本框或下拉框的CSS类名。 |
PageIndexBoxStyle | 获取或设置页索引输入文本框或下拉框的CSS样式文本。 |
PageIndexBoxType | |
PageIndexOutOfRangeErrorMessage | 获取或设置当用户输入的页索引超出范围(大于最大页索引或小于最小页索引)时在客户端显示的错误信息。 |
PageSize | 获取或设置每页显示的项数。 |
PagesRemain | 获取当前页之后未显示的页的总数。 |
PagingButtonLayoutType | 指定分页导航按钮(数字和上页、下页、首页、尾页)布局方式,可以将这些元素包含在<li> 或<span>标签中以方便应用CSS样式,默认不包含在任何标签中。 |
PagingButtonSpacing | 获取或设置分页导航按钮之间的间距。 |
PagingButtonType | 获取或设置分页导航按钮的类型,即使用文字还是图片。 |
Parent (从 Control 继承) | Gets a reference to the server control's parent control in the page control hierarchy. |
PrevPageText | 获取或设置为上一页按钮显示的文本。 |
RecordCount | 获取或设置需要分页的所有记录的总数。 |
RecordsRemain | 获取在当前页之后还未显示的剩余记录的项数。 |
ReverseUrlPageIndex | 获取或设置当启用Url分页方式时,是否以反方向显示分页页索引参数,以利于优化搜索引擎搜索结果。 |
ScrollBars (从 Panel 继承) | Gets or sets the visibility and position of scroll bars in a Panel control. |
ShowBoxThreshold | 获取或设置自动显示页索引输入文本框的最低起始页数。 |
ShowCustomInfoSection | 获取或设置显示用户自定义信息区的方式。 |
ShowDisabledButtons | 获取或设置一个值,该值指定是否显示已禁用的按钮。 |
ShowFirstLast | 获取或设置一个值,该值指示是否在页导航元素中显示第一页和最后一页按钮。 |
ShowMoreButtons | 获取或设置一个值,该值指示是否在页导航元素中显示更多页按钮。 |
ShowNavigationToolTip | 获取或设置一个值,该值批示当鼠标指针悬停在导航按钮上时是否显示工具提示。 |
ShowPageIndex | 获取或设置一个值,该值指示是否在页导航元素中显示页索引数值按钮。 |
ShowPageIndexBox | |
ShowPrevNext | 获取或设置一个值,该值指示是否在页导航元素中显示上一页和下一页按钮。 |
Site (从 Control 继承) | Gets information about the container that hosts the current control when rendered on a design surface. |
SkinID | 获取或设置要应用于控件的皮肤的ID。 |
StartRecordIndex | 当前页数据记录的起始索引。 |
Style (从 WebControl 继承) | Gets a collection of text attributes that will be rendered as a style attribute on the outer tag of the Web server control. |
SubmitButtonClass | 获取或设置应用于提交按钮的CSS类名。 |
SubmitButtonImageUrl | 获取或设置提交按钮的图片路径,若该属性值为空,则提交按钮显示为普通按钮,否则显示为图片按钮并使用该属性的值做为图片路径。 |
SubmitButtonStyle | 获取或设置应用于提交按钮的CSS样式。 |
SubmitButtonText | 获取或设置提交按钮上的文本。 |
TabIndex (从 WebControl 继承) | Gets or sets the tab index of the Web server control. |
TemplateControl (从 Control 继承) | Gets or sets a reference to the template that contains this control. |
TemplateSourceDirectory (从 Control 继承) | Gets the virtual directory of the Page or UserControl that contains the current server control. |
TextAfterPageIndexBox | 获取或设置页索引页索引输入文本框或下拉框后的文本字符串值。 |
TextBeforePageIndexBox | 获取或设置页索引页索引输入文本框或下拉框前的文本字符串值。 |
ToolTip (从 WebControl 继承) | Gets or sets the text displayed when the mouse pointer hovers over the Web server control. |
UniqueID (从 Control 继承) | Gets the unique, hierarchically qualified identifier for the server control. |
UrlPageIndexName | 获取或设置当启用Url分页方式时,在url中表示要传递的页索引的参数的名称。 |
UrlPageSizeName | 获取或设置Url中指定每页显示记录数的参数的名称,或该值不为空或Url中该值对应的参数的值大于0,则PageSize属性将使用该参数的值做为每页显示的记录数。 |
UrlPaging | 获取或设置是否启用url来传递分页信息。 |
UrlPagingTarget | 获取或设置Url分页时分页按钮或超链接指向的目标窗口或框架的名称。 |
UrlRewritePattern | 获取或设置要URL的重写格式。 |
Visible (从 Control 继承) | Gets or sets a value that indicates whether a server control is rendered as UI on the page. |
Width (从 WebControl 继承) | Gets or sets the width of the Web server control. |
Wrap | 获取或设置一个值,该值批示是否允许控件中的内容换行。 |
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 编写器中。 |
GoToPage | 引发PageChanging和PageChanged事件,跳转到指定页面。 |
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. |
DataBinding (从 Control 继承) | Occurs when the server control binds to a data source. |
Disposed (从 Control 继承) | Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested. |
Init (从 Control 继承) | Occurs when the server control is initialized, which is the first step in its lifecycle. |
Load (从 Control 继承) | Occurs when the server control is loaded into the Page object. |
PageChanged | PostBack方式分页时,当页导航元素之一被单击或用户手工输入页索引提交时发生,Url方式分页时,页面第一次加载时发生。 |
PageChanging | PostBack方式分页时,当页导航元素之一被单击或用户手工输入页索引提交时发生,Url方式分页时,页面第一次加载时发生。 |
PreRender (从 Control 继承) | Occurs after the Control object is loaded but prior to rendering. |
Unload (从 Control 继承) | Occurs when the server control is unloaded from memory. |
Adapter (从 Control 继承) | Gets the browser-specific adapter for the control. |
ChildControlsCreated (从 Control 继承) | Gets a value that indicates whether the server control's child controls have been created. |
ClientIDSeparator (从 Control 继承) | Gets a character value representing the separator character used in the ClientID property. |
Events (从 Control 继承) | Gets a list of event handler delegates for the control. This property is read-only. |
HasChildViewState (从 Control 继承) | Gets a value indicating whether the current server control's child controls have any saved view-state settings. |
IdSeparator (从 Control 继承) | Gets the character used to separate control identifiers. |
IsTrackingViewState (从 Control 继承) | Gets a value that indicates whether the server control is saving changes to its view state. |
LoadViewStateByID (从 Control 继承) | Gets a value indicating whether the control participates in loading its view state by ID instead of index. |
TagKey (从 WebControl 继承) | Gets the HtmlTextWriterTag value that corresponds to this Web server control. This property is used primarily by control developers. |
TagName (从 WebControl 继承) | Gets the name of the control tag. This property is used primarily by control developers. |
ViewState (从 Control 继承) | Gets a dictionary of state information that allows you to save and restore the view state of a server control across multiple requests for the same page. |
ViewStateIgnoresCase (从 Control 继承) | Gets a value that indicates whether the StateBag object is case-insensitive. |
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. |
Context (从 Control 继承) | Gets the HttpContext object associated with the server control for the current Web request. |
DesignMode (从 Control 继承) | Gets a value indicating whether a control is being used on a design surface. |
IsChildControlStateCleared (从 Control 继承) | Gets a value indicating whether controls contained within this control have control state. |
IsEnabled (从 WebControl 继承) | Gets a value indicating whether the control is enabled. |
IsViewStateEnabled (从 Control 继承) | Gets a value indicating whether view state is enabled for this control. |
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 类 | Wuqi.Webdiyer 命名空间