Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ASP.net C# GridView Double Click event

Posted on 2012-03-23
2
Medium Priority
?
3,358 Views
Last Modified: 2012-03-23
Hi

I am new to C#. On my ASP.net WebForm I need to run code when a GridView is double clicked. When I double click on the GridView in design mode, I can find the SelectedIndex changed event. How do I find the Double cLick event?

Thanks
0
Comment
Question by:Murray Brown
2 Comments
 
LVL 38

Accepted Solution

by:
Tom Beck earned 2000 total points
ID: 37758021
The GridView itself does not have a double click event.

Double click anywhere on the GridView or double click on a row?

Look at this. The author is using ButtonFields to capture the click events but is then hiding them so it appears that you are clicking the GridView row.

http://www.codeproject.com/Articles/15677/Clickable-and-Double-Clickable-Rows-with-GridView
0
 

Author Closing Comment

by:Murray Brown
ID: 37758215
Thank you
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

885 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