StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WinForms (How do I?)
»
PanelManagerPage Deactivation event?
PanelManagerPage Deactivation event?
Post Reply
Like
0
PanelManagerPage Deactivation event?
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 all,
I am working on a form with an interface look similar to the SF Localization & Messaging Editor, with a TreeView on the left and a Panel Manager on the right side.
Problem I have is how would I know when a page is being deactivated?
Ex: User is modifying a record in Page A, then user clicks on another node which will activate Page B, but there is dirty data in the BO for Page A.
Where do I put code to validate above scenario and avoid Page B from being activated until the conflict have been resolved in Page A?
The same thing is done in the Localization & Messaging Editor, if I am modifying a message then click on another node while the BO is dirty a broken rule is created and I cannot leave that page until I save or cancel the record. In which event should I put the code to validate this condition?
Thanks!
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
PanelManagerPage Deactivation event?
Edhy Rijo
-
14 Years Ago
Hey Edhy. Maybe you could put code into your Treeview BeforeSelect...
Ivan George Borges
-
14 Years Ago
Hi Ivan,
Thanks, that will work. I was focused on the page...
Edhy Rijo
-
14 Years Ago
Glad it helped, Edhy. ;)
Ivan George Borges
-
14 Years Ago
Hi Ivan,
Moving this post more on the TreeView control I...
Edhy Rijo
-
14 Years Ago
Hi Edhy. I have worked with some treeviews so far, but never...
Ivan George Borges
-
14 Years Ago
[quote][b]Ivan George Borges (05/31/2010)[/b][hr]Every treeview I have...
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