In my ASP.NET web app, I\'m trying to create a universal way of warning users before navigating away from a form when they\'ve made changes, using jQuery. Pretty standard st
You could always create an inherited page class that has a custom OnLoad / OnUnload method that adds in immediate execution JavaScript.
OnLoad
OnUnload
Then you don't have to handle it at a control specific level but rather the form / page level.