The dream of refreshing pagination is coming!
In the past, I was so envious of the refreshing pages implemented by web application experts !,
Today, I finally realized it myself. The sense of accomplishment is still high. In fact, it is very easy to implement in. net2.0, mainly Ajax.
The updatepanel control in the extensions column can include the pagination list and pagination button. However, to implement the Microsoft Ajax component, you must first install it and then
Configure in Web. config. OK !!
Web. config Configuration:
<System. Web>
<Httphandlers>
<Remove verb = "*" Path = "*. asmx"/>
<Add verb = "*" Path = "*. asmx" Validate = "false"
Type = "system. Web. Script. Services. scripthandlerfactory,
System. Web. Extensions, version = 1.0.61025.0, culture = neutral,
Publickeytoken = 31bf3856ad364e35 "/>
<Add verb = "*"
Path = "* _ appservice. axd" Validate = "false"
Type = "system. Web. Script. Services. scripthandlerfactory,
System. Web. Extensions, version = 1.0.61025.0, culture = neutral,
Publickeytoken = 31bf3856ad364e35 "/>
<Add verb = "Get, head"
Path = "scriptresource. axd"
Type = "system. Web. Handlers. scriptresourcehandler, system. Web. Extensions,
Version = 1.0.61025.0, culture = neutral, publickeytoken = 31bf3856ad364e35"
Validate = "false"/>
<Add verb = "get"
Path = "crystalimagehandler. aspx"
Type = "crystaldecisions. Web. crystalimagehandler, crystaldecisions. Web,
Version = 10.2.3600.0, culture = neutral,
Publickeytoken = 692fbea5521e1304 "/>
</Httphandlers>
<Pages>
<Controls>
<Add
Tagprefix = "Atlas" namespace = "system. Web. UI"
Assembly = "system. Web. Extensions, version = 1.0.61025.0, culture = neutral,
Publickeytoken = 31bf3856ad364e35 "/>
</Controls>
</Pages>
</System. Web>