Sliderextender not working on touchscreen

Constantinos Arist 21 Reputation points
2021-08-08T11:48:40.313+00:00

Hello everyone,

I added the slider extension to a text box and it works great on the computer by selecting it with the mouse.

If I display the page through a smartphone the pointer does not move with the finger, but the whole page moves. if I select another point on the scroll bar, then the pointer will be moved to the point I selected.

Is it possible to move the pointer with the finger in the same way as with the mouse?

I am grateful
Constantinos

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 questions
0 comments No comments
{count} votes

Accepted answer
  1. Yijing Sun-MSFT 7,086 Reputation points
    2021-08-09T01:56:50.62+00:00

    Hi @Constantinos Arist ,
    As far as I think,the slider extension is a ajax tool control. And the ajax control in touch device is not enough supported. If one ajax control have the click event,it will run ok in touch device.But if it have the drag or drop event,it may dose not work fine.The broswer will be confused by event. I think when you want to drag or drop the control in touch device,safar (or other broswer) get this event and broswer will excult this event,the ajax control does not get the drag or drop event.
    So I suggest You could visit to the Microsoft Visual Studio UserVoice site. Let us know what you would like to see in future versions of the Visual Studio suite of products. This site is for suggestions and ideas.
    Visual Studio uservoice: https://visualstudio.uservoice.com/forums/121579-visual-studio

    Best regards,
    Yijing Sun


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our  documentation  to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 66,706 Reputation points
    2021-08-09T22:30:10.817+00:00

    I assume you are using asp.net ajax control toolkit. this is now an open source project:

    https://github.com/DevExpress/AjaxControlToolkit/tree/master/AjaxControlToolkit

    you could open an issue (I don't know how responsive they are).

    https://github.com/DevExpress/AjaxControlToolkit/issues

    or you could fix the code and do a pull request.

    https://github.com/DevExpress/AjaxControlToolkit/blob/master/AjaxControlToolkit/Scripts/Slider.js

    this would adding support for touch events:

    https://developer.mozilla.org/en-US/docs/Web/API/Touch_events/Using_Touch_Events


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.