Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Slider > Shared sliders

Not answered Shared sliders

Feed from this thread
  • Jon Master avatar

    Posted on Nov 2, 2011 (permalink)

    Hi,

    I need to put circa 20 sliders onto one page - a survey.  I'd prefer to somehow use one shared slider - similar to with the calendar popup code.  Is there an easy way to do this?  Same goes for the slider items - worst case I suppose that I can add them from the server code but would prefer that I could use a shared calendar.

    Any help much appreciated.

    Cheers,

    Jon

    Reply

  • Slav Slav admin's avatar

    Posted on Nov 4, 2011 (permalink)

    Hi Jon,

    Please provide more detailed description of the scenario that you want to implement so that we can suggest the most appropriate approach. Note that the RadTimePicker supports shared TimeView as this is a component of the control that is not visible unless opened specifically. The case with shared color collection between RadColorPickers with ShowIcon set to true is similar. As the RadSlider operates on a different principle, I will need more information on the implementation that you want to achieve in order to provide a specific solution, if such is possible.

    I am looking forward to your description of the desired scenario.

    Best wishes,
    Slav
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now

    Reply

  • Jon Master avatar

    Posted on Nov 4, 2011 (permalink)

    Hi Stav

    It's fairly simple.  I have 30 sliders on one page,  each slider uses the same set of 5 items that are programmed into the items collection.  The page is done with a formview so there is a new, edit and insert template for them.  As such in the aspx code I have 90 sliders on the page although only 30 of them  are in use on any page. 

    I'd like to speed the page up by reusing any reusable components....

    Regards,

    Jon

    Reply

  • Slav Slav admin's avatar

    Posted on Nov 9, 2011 (permalink)

    Hi Jon,

    Please note that there are 30 RadSliders in every one of the three templates of the FormView and when a particular mode is selected, only the slider controls in the corresponding template are rendered on the page. I would suggest using a Web User Control in order to define all repeating elements and controls on your page, so that you don't have to configure every RadSlider separately.

    In case you want to speed up the page, containing 30 slider controls, you could split them in several ASP Panels and show only a part of the RadSliders by setting the Visible property of the panels, if such approach is compatible with your scenario.

    I hope this helps. Please let us know if you need additional assistance.

    Regards,
    Slav
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now

    Reply

  • Jon Master avatar

    Posted on Nov 9, 2011 (permalink)

    Hi Slav,

    Yeah I'd said 90 as that give you an indication of how long the page is.  I think I'd have gone another route if it was 90 on the page being rendered :)

    I had considered the user control approach but for this one page just copied and pasted for simplicity.

    The panel approach would probably work if I use a wizard approach BUT it wouldn't work on the summary page - then again perhaps the summary page would be better not using sliders in any event.

    Saying about the Wizard approach that is a control that would go down very well - some form of formview type wizard thing for asp.net...

    Thanks for the advice,

    Regards,

    Jon

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Slider > Shared sliders
Related resources for "Shared sliders"

ASP.NET Slider Features  |  Documentation   |  Demos  |  Telerik TV   |  Self-Paced Trainer  |  Step-by-step Tutorial  ]