Button and touch events

2 posts, 0 answers
  1. Mickael
    Mickael avatar
    57 posts
    Member since:
    Oct 2014

    Posted 11 Dec 2014 Link to this post

    Hi, I would like to know if the Telerik button support touch event?

    I am trying to make an image button that I can use both with the mouse click and the touch end events.
    The mouse click works well, but for the touch end I have no luck so far.

    Help would be very welcomed.

    this is what I have so far:

    <telerik:RadButton
        ID="RadButton2"
        runat="server"
        Width="32px"
        Height="32px"
        ToolTip="Home"
        style="cursor: pointer;"
        OnClientClicking="OnClientClicking"
        Text=""
        Enabled="true">
        <Image ImageUrl="Images/Home-icon.png"/>
    </telerik:RadButton>


  2. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1492 posts

    Posted 12 Dec 2014 Link to this post

    Hi Mickael,

    I am sorry to say that the RadButton doesn't support touch events but the following ones:
    If you want to cancel a postback of the button you can set the args.set_cancel(true) method in the OnClientClicking event.


    Regards,
    Danail Vasilev
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top