Page code:
<% @ Page Language = "C #" autoeventwireup = "true" codefile = "sliderextender. aspx. cs" inherits = "sliderextender" %>
<% @ Register Assembly = "ajaxcontroltoolkit" namespace = "ajaxcontroltoolkit" tagprefix = "PC3" %>
<! Doctype HTML public "-// W3C // dtd xhtml 1.0 transitional // en" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML xmlns = "http://www.w3.org/1999/xhtml">
<Head runat = "server">
<Title> No title page </title>
</Head>
<Body>
<Form ID = "form1" runat = "server">
<Div>
<Asp: scriptmanager id = "scriptmanager1" runat = "server">
</ASP: scriptmanager>
<Asp: textbox id = "textbox1" runat = "server"> </ASP: textbox>
<C0: sliderextender id = "sliderextender1" runat = "server"
Targetcontrolid = "textbox1"
Boundcontrolid = "textbox2"
Decimals = "0"
Maximum = "10"
Minimum = "0"
Enablehandleanimation = "false"
>
</PC3: sliderextender>
<Asp: textbox id = "textbox2" runat = "server"> </ASP: textbox>
</Div>
</Form>
</Body>
</Html>
<! --
MinimumThis attribute controls the minimum value of the control.
MaximumThis property controls the maximum value of the control.
TargetcontrolidThis property is the bound scroll bar (That is, textbox1)
BoundcontrolidThis property is bound to the display value control (That is, textbox2)
DecimalsThis attribute is the number of decimal places of the control.
EnablehandleanimationThis attribute indicates whether the control is displayed as an animation,If steps is setAttribute,This control cannot be enabled.
! -->
No background code !!