This is a migrated thread and some comments may be shown as answers.

slider and update panels

1 Answer 75 Views
Slider
This is a migrated thread and some comments may be shown as answers.
andieje
Top achievements
Rank 1
andieje asked on 08 Mar 2008, 12:39 AM
Hi

I am considering using the prometheus slider in my applications and i have some initially questions.

Firstly, can you use the slider inside and asp.net update panel in asp.net 2.0? I need a change in the position of the slider to trigger a partial postback and for the slider to maintain its position

Also, i've looked at the slider demos called configuration and this is exactly what i want. However, i dont like the way the slider bar moves along the slider. It jumps from one graduation on the slider to another and does not move smoothly between points on the slider. Is there a way to change this? For example, can you animate the way the slider moves?

thanks in advance
andrea

1 Answer, 1 is accepted

Sort by
0
Ubong
Telerik team
answered on 10 Mar 2008, 02:09 PM

Hello Andieje,

Glad you chose to evaluate our controls and here are the answers to your questions:
  1. I am attaching a simple example demonstrating how to use the slider within an Update Panel for partial Post-Backs. First of all, you need to set the AutoPostBack property of the Slider to true to ensure that the control does PostBacks since you will be using it in the UpdatePanel to trigger the assync PostBacks.
    You will see that in my example, I use two labels, within and outside the UpdatePanel to demonstrate that partial PostBack takes place as you move the slider.
  2. Regarding the slide animation, the answer is yes indeed! You can set the control's animation with the AnimationDuration property which defines how long (in milliseconds) the animation of the slide action will run as shown in this online demo:
    http://www.telerik.com/demos/aspnet/prometheus/Slider/Examples/Animation/DefaultCS.aspx

Best Regards,

Ubong
the Telerik team


Instantly find answers to your questions at the new Telerik Support Center
Tags
Slider
Asked by
andieje
Top achievements
Rank 1
Answers by
Ubong
Telerik team
Share this question
or