question

ConstantinosArist-7180 avatar image
0 Votes"
ConstantinosArist-7180 asked ConstantinosArist-7180 edited

Sliderextender not working on touchscreen

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

dotnet-aspnet-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

YijingSun-MSFT avatar image
0 Votes"
YijingSun-MSFT answered

Hi @ConstantinosArist-7180 ,
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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Bruce-SqlWork avatar image
0 Votes"
Bruce-SqlWork answered ConstantinosArist-7180 edited

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

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

t
Hello Bruce,

hanks a lot for the suggestions, i will contact the first choic

0 Votes 0 ·