How to synch a DataGridView in a SF Maintenance Form with a single BO?


How to synch a DataGridView in a SF Maintenance Form with a single BO?...
Author
Message
Edhy Rijo
E
StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Hi

I am working on a form below and I want to provide the user with a readonly datagridview so they can just click the selected record and then show that record at the bottom for maintenance. 

Right now, the datagridview control is not responding to the navigation events. I found this old post http://forum.strataframe.net/Topic9799-7-1.aspx?Highlight=datagridview, but I am not sure is this has been fixed?

Is the datagridview control suppose to respond to the navigation events automatically or do I have to change some properties to make it work?

Thanks!

Edhy Rijo

Replies
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
I tested your sample and it fact works, but it is not stable. At some point it will stop working, either if I add a GroupBox or a ThemedContainer, it will stop working and after a while for no reason.

Edhy, I have tested this over and over and it works fine.  I am not sure what issue you are running into here, but there is more than likely something else being placed in your code that is causing the issue.  I have also double-checked with some people that I KNOW are using this logic and they are not having issues.  You might dig a little deeper...I prefer the ListView method anyway, but if you want to keep with this, people use grids in this fashion everyday...so I think that there is probably something else going on here.

Edhy Rijo
E
StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Trent L. Taylor (03/17/2008)
Edhy, I have tested this over and over and it works fine.  I am not sure what issue you are running into here, but there is more than likely something else being placed in your code that is causing the issue.  I have also double-checked with some people that I KNOW are using this logic and they are not having issues.  You might dig a little deeper...I prefer the ListView method anyway, but if you want to keep with this, people use grids in this fashion everyday...so I think that there is probably something else going on here.

Thanks Trent, I will keep looking at this since I like the fact of the grid being manage/synch with the MaintenanceFormToolStrip.

Edhy Rijo

Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
I've posted a sample with a sub-classed listview:



http://forum.strataframe.net/FindPost14966.aspx
Edhy Rijo
E
StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Thanks Greg, I will check it out now.

Edhy Rijo

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Edhy Rijo - 17 Years Ago
Trent L. Taylor - 17 Years Ago
Edhy Rijo - 17 Years Ago
Trent L. Taylor - 17 Years Ago
Edhy Rijo - 17 Years Ago
                         Edhy,

I use the ListView for this all the time. In fact I...
Greg McGuffey - 17 Years Ago
                             Hi Greg, Thanks for the info. The problem hereis that I am a real...
Edhy Rijo - 17 Years Ago
                                 I totally understand. I was there not so long ago. It's very cool...
Greg McGuffey - 17 Years Ago
                                     Edhy, There is an issue that has not bee fixed as it related to...
Trent L. Taylor - 17 Years Ago
                                         Oh, I just noticed what you were referring to on Ben Hayats post...the...
Trent L. Taylor - 17 Years Ago
                                             [quote][b]Trent L. Taylor (03/14/2008)[/b][hr]Oh, I just noticed what...
Edhy Rijo - 17 Years Ago
                                                 OK....I was right in that it isn't a bug. When everyone kept saying...
Trent L. Taylor - 17 Years Ago
                                                     Hi Trent, I tested your sample and it fact works, but it is not...
Edhy Rijo - 17 Years Ago
                                                         [quote]I tested your sample and it fact works, but it is not stable....
Trent L. Taylor - 17 Years Ago
                                                             [quote][b]Trent L. Taylor (03/17/2008)[/b][hr]Edhy, I have tested this...
Edhy Rijo - 17 Years Ago
                                                                 I've posted a sample with a sub-classed listview:
...
Greg McGuffey - 17 Years Ago
                                                                     Thanks Greg, I will check it out now.
Edhy Rijo - 17 Years Ago
                                     [quote][b]Greg McGuffey (03/14/2008)[/b][hr]I totally understand. I...
Edhy Rijo - 17 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search