StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Business Objects and Data Access (How do I?)
»
RestoreCurrentDataTableSnapshot and BrokenRules
RestoreCurrentDataTableSnapshot and BrokenRules
Post Reply
Like
0
RestoreCurrentDataTableSnapshot and BrokenRules
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Edhy Rijo
E
Edhy Rijo
posted 14 Years Ago
ANSWER
Topic Details
Share Topic
E
Group: StrataFrame Users
Posts: 2.4K,
Visits: 23K
Hi Trent,
I use a lot the BO.RestoreCurrentDataTableSnapshot() method and noticed that prior to calling the bo.RestoreCurrentDataTableSnapshot() if I had triggered a broken rule then the error provider icon will stay next to the control.
Looking at the bo.Undo() code I noticed that the _BrokenRules and _ErrorProvider are being cleared, but not in the RestoreCurrentDataTableSnapshot, should this method also clear those collections?
For now I am simply calling the bo.Undo() prior to bo.RestoreCurrentDataTableSnapshot to take care of the situation, since I do not have access to the _BrokenRules and _ErrorProvider collections knowing that I am basically undoing twice.
Please advice.
Edhy Rijo
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
RestoreCurrentDataTableSnapshot and BrokenRules
Edhy Rijo
-
14 Years Ago
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search