473,320 Members | 1,916 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

double click on datagrid?

Hi

I have a datagrid that is popolated by a search result. I would then like to
double click on a row to open the record in a new form.

The double click doesn't seem to "fire"? I am relively new to VB.NET (coming
from VB6). How does one capture the double click event on the datagrid?

Any tips will be appreciated.

Francois
Nov 21 '05 #1
5 5461
Francois,

This is the page "Everything I wanted to know about the datagrid and did not
know before" When something is not here, you have mostly a lot of work to do
it the way you want.

This is a direct link to your problem on that page.

http://www.syncfusion.com/FAQ/WinFor...c44c.asp#q869q

I hope this helps?

Cor

"Francois Searle" <na**@company.com>
Hi

I have a datagrid that is popolated by a search result. I would then like
to
double click on a row to open the record in a new form.

The double click doesn't seem to "fire"? I am relively new to VB.NET
(coming
from VB6). How does one capture the double click event on the datagrid?

Any tips will be appreciated.

Francois

Nov 21 '05 #2
Hi

Thanks. Took some coding, but worked out.

Thanks.
"Cor Ligthert" <no************@planet.nl> wrote in message
news:ue**************@TK2MSFTNGP11.phx.gbl...
Francois,

This is the page "Everything I wanted to know about the datagrid and did not know before" When something is not here, you have mostly a lot of work to do it the way you want.

This is a direct link to your problem on that page.

http://www.syncfusion.com/FAQ/WinFor...c44c.asp#q869q

I hope this helps?

Cor

"Francois Searle" <na**@company.com>
Hi

I have a datagrid that is popolated by a search result. I would then like to
double click on a row to open the record in a new form.

The double click doesn't seem to "fire"? I am relively new to VB.NET
(coming
from VB6). How does one capture the double click event on the datagrid?

Any tips will be appreciated.

Francois


Nov 21 '05 #3
Ok. But wait! That only works with grids that are not read-only. Any ideas?
"Francois Searle" <na**@company.com> wrote in message
news:cn**********@ctb-nnrp2.saix.net...
Hi

Thanks. Took some coding, but worked out.

Thanks.
"Cor Ligthert" <no************@planet.nl> wrote in message
news:ue**************@TK2MSFTNGP11.phx.gbl...
Francois,

This is the page "Everything I wanted to know about the datagrid and did not
know before" When something is not here, you have mostly a lot of work to do
it the way you want.

This is a direct link to your problem on that page.

http://www.syncfusion.com/FAQ/WinFor...c44c.asp#q869q

I hope this helps?

Cor

"Francois Searle" <na**@company.com>
Hi

I have a datagrid that is popolated by a search result. I would then

like to
double click on a row to open the record in a new form.

The double click doesn't seem to "fire"? I am relively new to VB.NET
(coming
from VB6). How does one capture the double click event on the datagrid?
Any tips will be appreciated.

Francois



Nov 21 '05 #4
Francois Searle wrote:
Ok. But wait! That only works with grids that are not read-only. Any ideas?
"Francois Searle" <na**@company.com> wrote in message
news:cn**********@ctb-nnrp2.saix.net...
Hi

Thanks. Took some coding, but worked out.

Thanks.
"Cor Ligthert" <no************@planet.nl> wrote in message
news:ue**************@TK2MSFTNGP11.phx.gbl...
Francois,

This is the page "Everything I wanted to know about the datagrid and did


not
know before" When something is not here, you have mostly a lot of work
to
do
it the way you want.

This is a direct link to your problem on that page.

http://www.syncfusion.com/FAQ/WinFor...c44c.asp#q869q

I hope this helps?

Cor

"Francois Searle" <na**@company.com>

Hi

I have a datagrid that is popolated by a search result. I would then


like
to
double click on a row to open the record in a new form.

The double click doesn't seem to "fire"? I am relively new to VB.NET
(coming
from VB6). How does one capture the double click event on the


datagrid?
Any tips will be appreciated.

Francois



Take a look at the code of 5.41 on that page. I've used that to
a) get rid of the edit thing (which normally shows up even in readonly mode)
b) color the whole cell/row when selecting a cell
c) catch the doubleclick.

--
Rinze van Huizen
C-Services Holland b.v.
Nov 21 '05 #5
this one really worked, thanks...
"C-Services Holland b.v." <cs*@REMOVEcsh4u.nl> wrote in message
news:qN********************@zeelandnet.nl...
Francois Searle wrote:
Ok. But wait! That only works with grids that are not read-only. Any ideas?

"Francois Searle" <na**@company.com> wrote in message
news:cn**********@ctb-nnrp2.saix.net...
Hi

Thanks. Took some coding, but worked out.

Thanks.
"Cor Ligthert" <no************@planet.nl> wrote in message
news:ue**************@TK2MSFTNGP11.phx.gbl...

Francois,

This is the page "Everything I wanted to know about the datagrid and did
not

know before" When something is not here, you have mostly a lot of work
to
do

it the way you want.

This is a direct link to your problem on that page.

http://www.syncfusion.com/FAQ/WinFor...c44c.asp#q869q

I hope this helps?

Cor

"Francois Searle" <na**@company.com>

>Hi
>
>I have a datagrid that is popolated by a search result. I would then

like

>to
>double click on a row to open the record in a new form.
>
>The double click doesn't seem to "fire"? I am relively new to VB.NET
>(coming
>from VB6). How does one capture the double click event on the


datagrid?
>Any tips will be appreciated.
>
>Francois
>
>



Take a look at the code of 5.41 on that page. I've used that to
a) get rid of the edit thing (which normally shows up even in readonly

mode) b) color the whole cell/row when selecting a cell
c) catch the doubleclick.

--
Rinze van Huizen
C-Services Holland b.v.

Nov 21 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Maulin Vasavada | last post by:
Hi, I have DataTable and I want to actually put a LinkLabel in one the columns where I can click an do something BUT it seems I can't put LinkLabel in the table cell of DataTable. So as an...
1
by: mdb | last post by:
I need to detect when the user double-clicks on a cell in a DataGrid in WindowsForms, but the doubleClick event doesn't seem to respond when its in the data area. (It does respond if I double...
1
by: Lalit Bhatia | last post by:
Hi when focus is on a cell in datagrid. double click event does not occur. when I double click on rowheader, columnheader then this event fires. I am using DataGridTableStyle in the grid. ...
2
by: Alpha | last post by:
I have a window application. In one of the form, a datagrid has a dataview as its datasource. Initial filtering result would give the datavew 3 items. When I double click on the datagrid to edit...
1
by: kgs | last post by:
I have datagrid with in a usercontrol. I have doubleclick event tied to each row to post back with the id of the control. Though i get a postback on double click of the datagrid But double...
1
by: Manny Chohan | last post by:
hi Guys, i want to implement the double click functionality in datagrid. I am using c#. can some one recomend a good article whihc shows you how to do it. Thanks Manny
5
by: Nick | last post by:
Hey guys, I have 2 events on a windows forms datagrid, the mouse move as well as the double click events. What's happening is that when I double click on a row in the grid, the mouse move event...
1
by: Brett Romero | last post by:
I'm allowing double clicks on a DataGrid by using a counter and timing. However, the user must click two different cells for the double click to work. The reason is once they click into a cell, it...
1
by: trint | last post by:
Hi, I have three datagrids in a WinForm. I want dataGridView1 to retrieve data and make dataGridView2 visible and the same with dataGridView3. Any help is appreciated. Thanks, Trint
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.