UltraGrid (InitializeRow) fires at will
 
Home My Account Forum Try It! Buy It!
About Contact Us Site Map
StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



UltraGrid (InitializeRow) fires at willExpand / Collapse
Author
Message
Posted 05/11/2008 10:54:21 PM


StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: StrataFrame Users
Last Login: Yesterday @ 4:13:27 PM
Posts: 123, Visits: 403
I have a Grid on my main form attached to a BBS. I also have a childform attached to the BO which is attached to the BBS. I also have the standard add edit code (BO.ADD,BO.EDIT in the childform not in the mainform) calling the child form.

The problem seems to be that the Grid's InitializeRow seems to not only fire when the grid initially(as it should) loads, it also fires when I call a BO.ADD and load of the childform? It seems to get called when I am in edit mode as well? I set the debugger and discovered that it fires while I am entering data in fields on the subform?

SF = Latest Version (Beta)

Ultragrid 2008.1

VS 2008

Michael

Post #16316
Posted 05/13/2008 9:53:02 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 3:24:00 PM
Posts: 3,733, Visits: 3,926
This sounds like more of a Grid issue versus a BBS/BO issue.  We actaully use this grid in a number of places and amongst the 3500+ properties there could be something set that is changing the behavior of the grid.  Honestly, these types of questions are really hard to help with without some type of sample that reproduces the problem.  If you produce a simple sample that reproduces the problem then I will take a gander at it to see if I can tell where the issue is.  Thanks.
Post #16367
Posted 2 days ago @ 3:28:45 AM


StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: StrataFrame Users
Last Login: Yesterday @ 4:13:27 PM
Posts: 123, Visits: 403
Ok Trent,

I will try to put something together. I do not think that I am doing anything special?

Could the execution of InitializeRow be because the BO on the parent and child are the same? As I am entering data in editmode (before save) in the Childform, the parentform BO seems to be trying to populate as well?

Post #16384
Posted 2 days ago @ 9:25:18 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 3:24:00 PM
Posts: 3,733, Visits: 3,926
Well, that does sound suspect...but this is a highly used control, by SF developers (including ourselves) and this is the first time I have ever heard of this behavior.
Post #16390
Posted 2 days ago @ 10:08:38 AM


StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: StrataFrame Users
Last Login: Yesterday @ 4:13:27 PM
Posts: 123, Visits: 403
I know. I hope that this is not an issue with Version 2008.1? I do not think that I saw this behavior before?
Post #16394
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 3:45am

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.063. 8 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.