ARTICLE

SliderExtender Control in AjaxControl Toolkit

Posted by Davin Martyn Articles | ASP.NET AJAX in VB.NET September 16, 2011
With the help of this control user change the setting of any entity.
 
Reader Level:

Introduction :

SliderExtender Control allow that user choose a numeric value for a finite range.The SlidereExtender  can be vertical and horizental  and select only specfic numeric value for a particular range.
Step 1 :
Open visual studio and go to file menu option.

  • Select ASP.NET Web Site.
  • Default.aspx page open.
ASP-page1.gif
Step 2 :
Go to Solution Explorer and right click.
  • Select Add New Items.
  • Selct Web Form option and add .
  • Go to source option in page .
  • Drag and drop control in Ajax Control ToolKit.
  • We take Panel,TextBox and ScriptManagerControl.
webforms.gif
Code :

<title>my application ajax</title>
</head>
<
body>
<form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
 <div>
     <asp:DropShadowExtender ID="DropShadowExtender1" runat="server" TargetControlID = "Panel1" BehaviorID = "DropShadowBehaviour1" Rounded ="true" Width ="4" Radius = "7" Opacity =".95" TrackPosition = "true">
     </asp:DropShadowExtender>
      <asp:SliderExtender ID = "SliderExtender1"  TargetControlID = "TextBoX1" runat="server">
         </asp:SliderExtender>
 <asp:Panel ID="Panel1" BackColor = "RED" Height = "123px" Width = "124px" runat="server">
 <asp:TextBox ID="TextBox1" Width ="125px" BackColor = "BLUE" BorderStyle = "None"  runat="server"></asp:TextBox>
     </asp:Panel>
    </div>
    </form
>
</body>
</
html>
Step 3: Now we press F5 and find the output.

SLIDER-CONTROL.gif

Login to add your contents and source code to this article
share this article :
post comment
 
Nevron Diagram
Become a Sponsor
PREMIUM SPONSORS
  • Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
    The leading .NET charting control now features PDF, Flash and Silverlight export, visualization of large datasets and more. Deliver true charting functionality to your BI, Scorecard, Presentation or Scientific apps. Download evaluation now.
6 Months Free & No Setup Fees ASP.NET Hosting!
Become a Sponsor