slider and update panels

2 posts, 0 answers
  1. andieje
    andieje avatar
    473 posts
    Member since:
    Oct 2006

    Posted 07 Mar 2008 Link to this post


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

    Firstly, can you use the slider inside and update panel in 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
  2. Ubong
    Ubong avatar
    328 posts

    Posted 10 Mar 2008 Link to this post

    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:

    Best Regards,

    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top