I have a site that uses javascript on textareas to watch for changes.
If the user tries to navigate away from the page without clicking the submit button to save or cancel button to cancel changes, then a javascript alert pops up telling them "you are about to navigate away from the page. You have not saved your information" or something similar.
I do this by using javascript to watch for changes on the text area, then set a changed flag. I also watch for the onbeforeunload event, which makes the "you are about to navigate away from the page" message come up when something changes.
I would like to do something similar with Infragistics. I can't find a javascript hook that would allow Infragistics to call a function when the user has changed the text.
I need an onChange event for Infragistics.
Has any one found any way to make a message such as this pop up when using Infragistics?
If the user tries to navigate away from the page without clicking the submit button to save or cancel button to cancel changes, then a javascript alert pops up telling them "you are about to navigate away from the page. You have not saved your information" or something similar.
I do this by using javascript to watch for changes on the text area, then set a changed flag. I also watch for the onbeforeunload event, which makes the "you are about to navigate away from the page" message come up when something changes.
I would like to do something similar with Infragistics. I can't find a javascript hook that would allow Infragistics to call a function when the user has changed the text.
I need an onChange event for Infragistics.
Has any one found any way to make a message such as this pop up when using Infragistics?