Learn how to a build a cloud-first strategyRegister Now


ASP.NET DataGrid Double Click VB code behind please

Posted on 2012-09-13
Medium Priority
Last Modified: 2012-09-28

I need to allow a user to double click on a row in a data grid and on the event run a sub that contains code I have already written (it sits in a button click event at present) to fire up another browser window with a report in it (the report they selected from the grid).

All the plumbing is working fine I just need the interaction to start with a double click rather than the existing 'click on the select button link in the grid' and then press the run button.

Any help will be much appreciated.


Question by:marko-mmcc
LVL 41

Accepted Solution

Kyle Abrahams earned 900 total points
ID: 38394939

Author Comment

ID: 38394991
Hi. Thanks for that. I have been looking at that post for sometime but the code is all in C# and I am having trouble understaning it and converting to VB.
That is why I asked for VB code.
LVL 12

Expert Comment

ID: 38395001
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 38395056
Hi Jared
The sample you give above is using a datagrid in VB.NET not ASP.NET.

I Am using ASP.NET with VB code behind.
Thanks anyway
LVL 41

Expert Comment

by:Kyle Abrahams
ID: 38396118
Hi Mark,

There are a lot more examples in c#.  Use the following link to convert C# to VB.

Note that javascript will still be javascript as it's the client side scripting language.

If you need help with anything specific feel free to ask!
LVL 20

Expert Comment

ID: 38396288

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

810 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