Author Topic: The Dirty Flag is not correctly set on Form  (Read 1861 times)

Offline amai1012

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
The Dirty Flag is not correctly set on Form
« on: October 07, 2015, 11:39:37 AM »
I have a form with couple PivotalTabContainer. Using the form designer, I make some tabs visible to false and change them to true at the OnFormInitialized. The problem is when I click on those tabs after pivotal client launched, it would prompt a message to save changes even though I never made any data changes.

Couple things that I have tried but didn't work:
1. At OnFormInitialized, after I set those tabs visible to true, I set FormView.Dirty to false.
2. I added a selected tab event handler and set the visible to true then set FormView.Dirty to fasle.

How do I stop that message from showing if I don't change any data?