• Sign in to Neowin Faster!

    Create an account on Neowin to contribute and support the site.

  • 0
Sign in to follow this  

ASP 3.5 Range input. Options?

Question

James Rose    38

Hello gang,

 

My service provider has asp.net 3.5 and 4.0, but I need to use the Range input (slider) and it seems that the HTML5 control is not available at this level.

 

What are my options?

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0
sbauer    32

Hello gang,

 

My service provider has asp.net 3.5 and 4.0, but I need to use the Range input (slider) and it seems that the HTML5 control is not available at this level.

 

What are my options?

There are countless javascript implementations available. Some are jquery libraries, others aren't. 

 

http://refreshless.com/nouislider/

http://ghusse.github.io/jQRangeSlider/

http://loopj.com/jquery-simple-slider/

Share this post


Link to post
Share on other sites
  • 0
lunamonkey    118

That's not what he asked for.

 

Can't you just make your own control, inherit the input, and override the render method to change the type attribute to "range"?

Share this post


Link to post
Share on other sites
  • 0
Seahorsepip    610

The backend code shouldn't matter for the frontend code so it should be possible to use a html5 range element maybe with some extra js or asp code.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.