?
Solved

Disable doubleclick of LinkButton in asp:repeater

Posted on 2014-01-19
3
Medium Priority
?
748 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 2000 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

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

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

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.
Suggested Courses

752 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