Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
865
Monitor changes made on a Web Date Chooser
posted

Our apps are required to "monitor" changes that a user makes to a form.  For example, if a user changes the value of a dropdown box and tries to navigate away from the page, the app will warn the user -- using a Javascript dialog box -- that any unsaved changes will be lost if he navigates away from the page, unless he clicks the cancel button that appears on the Javascript dialog box.  My questions is: Is there an easy way to monitor changes made to a Web Date Chooser object?  Currently, I am using an <asp:textbox> control to monitor changes.  Its value is set to an empty string, and its value changes when the user selects/clears a date value (this is handled in the web date chooser's _ValueChanged method).  When that textbox value changes, the app will warn the user about losing unsaved changes if he tries to navigate away from the page.  While this approach works fine, I'd prefer to monitor changes without the addition of a textbox control.  Has anyone succeeded in doing so?

Parents Reply Children
No Data