Solved

ASP.net C# GridView Double Click event

Posted on 2012-03-23
2
2,885 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:murbro
2 Comments
 
LVL 38

Accepted Solution

by:
Tom Beck earned 500 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:murbro
ID: 37758215
Thank you
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
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.…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

706 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now