PanelManager and the Form's Error Provider Behavior


Author
Message
fansanitis
fansanitis
StrataFrame Novice (63 reputation)StrataFrame Novice (63 reputation)StrataFrame Novice (63 reputation)StrataFrame Novice (63 reputation)StrataFrame Novice (63 reputation)StrataFrame Novice (63 reputation)StrataFrame Novice (63 reputation)StrataFrame Novice (63 reputation)StrataFrame Novice (63 reputation)
Group: Forum Members
Posts: 45, Visits: 103
I have table with a large number of columns that I'm NOT allowed to modify.  The columns can be categorized by patient, procedure, diagnosis, etc.  Rather than try and jam all the columns onto a single maintenance form I wanted to create a form that uses a panel manager with a page for each "category" of data.  I'd use a themedlinkmenu for navigation between the category page.  Before I design the form I have some questions on how the error provider will behave. 

When a Save is performed, how will the error provider which is defined at the form level react?  Will it show only the errors on the current (visible) page?  What if there are no errors on the current page but there are on other non-visible pages?

Thanks!!

Reply
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
Is there something else I'm missing?

The red InfoBox that appears is plumbed in through the BaseForm logic...I beleive.  So if you are calling the MyBO.Save() instead, then this may not appear.  However, if you call the forms Save() then you will probably see the message.  In any case, you can show this message yourself very easily as all of the values are given to you int he BusinessRulesChecked event.  So if you have he need, you can show this window yourself very easily by just calling the InfoBox class directly.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search