Solved

Disable doubleclick of LinkButton in asp:repeater

Posted on 2014-01-19
3
722 Views
Last Modified: 2014-01-20
How do I disable the doubleclick of a linkbutton which is inside an asp:repeater control.
0
Comment
Question by:dasberry
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 2

Expert Comment

by:Aijaz Chauhan
ID: 39793355
Using Javascript or Jquery you will be able to do it.

on the client click event disable that button and when your work is completed enable your button from code behind.

I hope you got the idea.
0
 
LVL 22

Accepted Solution

by:
Mrunal earned 500 total points
ID: 39793858
Hi
you can add below code in document ready event:

$('#yourlinkidhere').dblclick(function(e){ 
    e.preventDefault();
})

Open in new window


Instead of #yourlinkidhere, you can add class also like:

$('.yourlinkclasshere').dblclick(function(e){ 
    e.preventDefault();
})

Open in new window


Hope this helps you.
0
 

Author Comment

by:dasberry
ID: 39794181
Thank you for your help.  That worked.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Developer tools in browsers have been around for a while, yet they are still heavily underused by developers. Developers still fix html or CSS then refresh page to see effect, or they put alert or debugger in JavaScript and then try again and again …
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question