Visual WebGui Wiki Site
 
  Forum  General Visual ...  Let's Chat Abou...  Critical DataGridView Issue in V6.1
Previous Previous
 
Next Next
New Post 6/20/2008 5:17 AM
  Tyson
148 posts
5th Level Poster




Critical DataGridView Issue in V6.1 

Hey VWG guys! Sorry if I get a little bit annoyed over this next post but my customers are getting very angry and I need something to go right with this VWG project.

Guys I hope this following issue can be fixed ASAP. We need V6.1 for other fixes, but some changes you have made to the DataGridView breaks half our applications navigation.

We rely on many grids where once the user double clicks a row, the grid control is removed from the parent control collection, and a different user control is added, that can display more details about the grid row clicked. Some new changes have been made so that whenever a grid is removed from a control collection, every single DataGridViewCell in that grid has its reference back to the DGV set to NULL!!! This then throws an exception during the event processing!

I was going to make a sample app, but then I realised I already made a similar sample app that reproduces the problem. Download the sample app attached to this issue and check it out, under VWG V6.1. All you have to do is double click one of the rows - a null ref exception will be thrown.

Oh and this raises an intresting question targeted at Ori Cohen. Looking at this thread here, apparently he used the sample app above on V6.1 "20 times" without problems (trying to reproduce another issue mentioned in that thread). I don't see how you could have tested the issue when the sample app is completely broken under V6.1?

 
New Post 6/20/2008 6:51 AM
  e.beckers
49 posts
No Ranking


Re: Critical DataGridView Issue in V6.1 
What i did was
- copy the old datagridview classes/stylesheets/jscript etc etc files from 6.04
- placed them in my own project as a custom control
- renamed the datagridview ->DataGridViewOld (make sure you do this everywhere!)

Then... simply use the DataGridViewOld (which is the 6.04 version) where needed
and the DataGridView (which is the 6.1 version) where possible

Erwin
 
New Post 6/22/2008 6:35 PM
  Tyson
148 posts
5th Level Poster




Re: Critical DataGridView Issue in V6.1 

Good thinking Erwin - I'll do that. It'll keep me going for now.

Cheers.

Tyson.

 
New Post 6/24/2008 11:28 PM
  lcsal208
36 posts
No Ranking


Re: Critical DataGridView Issue in V6.1 

I've created an issue here. I hope this will be fixed soon because it's really causing us a lot of problems.

Thanks

 
New Post 7/10/2008 5:09 AM
  ori.cohen
3523 posts
1st Level Poster




Re: Critical DataGridView Issue in V6.1 
Hello Tyson!

Regarding your question about my testing your sample application using NetLimiter:
I assure you that I did test it and tried my best to reproduce the bug you reported. I remember this very vividly.
I guess that the reason would be that v6.1 was truly very very big (contained many issues to be worked on) and at the time the bug you saw in 6.1 may not have been created yet - at the time I was testing your application. I'm not completely sure about the time-frame but this is entirely possible and happens all the time.

Regards,

Ori Cohen
The Visual WebGui team
 
Previous Previous
 
Next Next
  Forum  General Visual ...  Let's Chat Abou...  Critical DataGridView Issue in V6.1
Most promising startups
Top 3 most promising startups in 2009
   AJAX Framework | Web Development | Cloud applications | RIA Development | Silverlight Applications | Legacy Migration
The most popular open source Ajax applications framework for enterprises | Sitemap | Terms Of Use | Privacy Statement
Copyright © 2005-2009 Visual WebGui®    Design By: Template World
   
Visual Studio Partners