Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9127217
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T07:13:58+00:00 2026-06-17T07:13:58+00:00

In the following scenario: HTML <a id=mButton data-role=button data-click=clickFn>myButton</a> <asp:ImageButton runat=server ID=aspButton style=display: none></asp:ImageButton>

  • 0

In the following scenario:

HTML

<a id="mButton" data-role="button" data-click="clickFn">myButton</a>

<asp:ImageButton runat="server" ID="aspButton" style="display: none"></asp:ImageButton>

SCRIPT

function clickFn(e) {
    $("#aspButton").click();
}

The click event of “aspButton” is [almost] never triggered when I click on “mButton”. I have tried binding to the “mButton” touchend event but this also does not work.

How would I be able to use an anchor tag with the data-role=”button” attribute to fire the click event of an asp button? I am using the latest Kendo UI Mobile and latest JQuery.

Thanks!

Update

It works perfectly if I change my clickFn to the following:

function clickFn(e) {
    setTimeout(function () {
        $("#aspButton").click();
    }, 400);
}

This is leading me to believe Kendo UI Mobile’s event handling may have something to do with this that I am unaware of. According to their forums, the Kendo UI Mobile View transition speeds is 400ms. Further, setting the timeout to even 399ms fails to execute the aspButton click event successfully.

Hope this helps.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T07:13:59+00:00Added an answer on June 17, 2026 at 7:13 am

    Are you sure if the ‘aspButton‘ is actually the id of the widget on the client side? (I personally have doubts about this)

    You can try to trigger the event with the trigger method jQuery provides.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a pretty simple scenario. I have the following HTML: <h1>Hello</h1> <input type="button"
Scenario: I am having a dropdown, a button and html table which displays data
I've following scenario: The user loads home.html , selects a subset of the five
I have the following scenario: in activity A, when a user clicks a button,
Consider the following scenario: Page written in classic ASP or PHP, which is rendering
Consider the following scenario: HTML <input type=text id=source value=the quick brown fox> <input type=text
I have the following HTML scenario: <div> <input id=txt0 type=text /><input type=checkbox id=chk0 /></div>
i have a following scenario in my html page i want to select the
I have the following scenario: Server: Jetty (with configured JAAS) Client: Jersey invoked via
I have the following scenario <TD><a href=index-1.html onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image20','','images/m21.jpg',1)><img src=images/m2.jpg name=Image20 width=103 height=136 border=0>Home</a></TD>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.