Forum  General Visual ...  Let's Chat Abou...  Need a solution to the missed double click event issue
Previous Previous
 
Next Next
New Post 5/26/2008 3:02 AM
  Tyson
157 posts
5th Level Poster




Need a solution to the missed double click event issue 

One of my collegues posted a while back regarding an issue where users with any latency above a small amount suffered from missed double click events being fired on the server when opening a Row within a DataGridView. I cant find the post currently but I will get it off him tomorrow and update this thread.

We've tried to reiterate to our users the issue and to simply click again. We've even implemented a workaround where if the single click event fires on a row that is already selected, it acts as a double click. But the user's dont understand the problem, and we keep getting reports of 'bad performance, very laggy, slow, etc'. Now that is the users perception due to this bug - of corse all the rest of the application involving single click navigation works fine, but they dont seem to understand the difference.

Today I did an investigation into other possible workarounds.

Firstly, I tried using the KeyDown event to check for the enter key. I tried mutlitple approaches - setting the KeyFilter, deriving from the DataGridView and overriding GetCriticalEvents to include the KeyDown as critical, but no approach seems to ever fire the KeyDown event on the server. The client side grid simply selects the next row down (without updating the server side so that the SelectedRow property doesn't even match what is displayed on the client).

My next approach was a context menu where they could click an item to open the current row. This suffered critical problems aswell. Firstly, the right click wouldn't select the row it was beneath, so unless the user first left clicked, then right clicked, they wouldn't be opening the correct entry. Secondly, my efforts to force this by using the CellMouseClick event were futile as the event didn't fire for the right mouse button.

The ideal solution would be a fix to the core problem of double click events in high latency scenarious. But any solution is welcome right now as this is currently the major problem holding back many of our clients from moving over to the web app.

Cheers.

Tyson.

 
New Post 5/26/2008 3:46 AM
  ejayf
55 posts
No Ranking


Re: Need a solution to the missed double click event issue 
Hi Tyson,

The thing you're working on is also number one in my list. My users also complain about bad, slow performance using the DataGridView. I noticed that when clicking in the grid without scrolling (and thus fireing the selectionchanged event), the performance is good. But when you click a row, scroll in the grid and then click another row, the grid data is being reposted after the event is being handled on the server. Do you or anyone else recognize this problem? I think i'm going to download the latest sources and try to fix it myself...

Thanks,
Ernstjan
 
New Post 5/27/2008 2:09 AM
  itzik.spitzen
1663 posts
1st Level Poster




Re: Need a solution to the missed double click event issue 

Hi Guys,

Thanks for the information.

When not buggy, performance is one of VWG's greatest benefits so it sounds like we should take care of this issue ASAP.  Never the less, there is no good reason why DGV would behave as you say it does based on optimized events, data transfer and rendering mechanisms.

In order handle the issue in the best efficient way, I'll have to ask you to provide me the issue numbers if there are any, and see that we will be able to reproduce the behaviors you are describing here with a small sample application; it can be either attached to the issue or sent to our support email address.

In addition, we do encourage community collaboration, this means that it would be great if you guys will try to provide fixes in cases where things can get fixed by you and then sent to us as a fix suggestion; this would, of course, speed-up providing a solution within the nearest possible version.

Regards,
Itzik Spitzen

 
New Post 5/27/2008 2:18 AM
  Tyson
157 posts
5th Level Poster




Re: Need a solution to the missed double click event issue 

Hi Itzik,

Thankyou for your interest in solving this issue.

The problem with this bug is that it only seems to occur on higher latency scenarious. When running from the local host, or anywhere on the local lan, it works fine. So simply sending you a sample app won't demostrate the problem.

I originally thought it was purely to do with double clicks on the DGV, but I have just discovered another scenario where a standard Button click is not getting transmitted. Ill produce a sample app now, send you a copy of the source, and also upload it to a server here in Australia. From my office I experience the problem when running off this server, so hopefully you guys will also definitly experience it.

Cheers.

Tyson.

 
New Post 5/27/2008 2:24 AM
  Tyson
157 posts
5th Level Poster




Re: Need a solution to the missed double click event issue 

Sorry, I just found this issue here.

It seems to state that it is fixed for 6.1.

Hopefully this is the case. But I would like to be able to test it without having to wait for another 2 weeks. If it isn't fixed, and I wait for 2 weeks to test it, then I probably won't get a fix for another month. My customers are starting to get impatient.

Could I possibly get a pre-release of V6.1 to test?

Or alternativly, I can send you the source code of a project that demostrates it and you guys can test it on 6.0.x and 6.1- however keep in mind that you will have to install it on an external server with a reasonable delay time (or simulate it with some form of throttling).

Cheers.

Tyson.

 
Previous Previous
 
Next Next
  Forum  General Visual ...  Let's Chat Abou...  Need a solution to the missed double click event issue
Assessment Bottom
.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS