Bind handler to Ajax Sys.Component.propertyChanged event

Posted by Steven Chalk on Stack Overflow See other posts from Stack Overflow or by Steven Chalk
Published on 2009-10-18T20:27:08Z Indexed on 2010/04/14 7:03 UTC
Read the original article Hit count: 402

Filed under:

"When you create a client component class, you define the properties that you expect page developers to access. You can also raise Sys.Component.propertyChanged notification events in the set accessors for properties of your component. Page developers who use the component can bind the property notification event to their own handler to run code when the property value changes." From http://www.asp.net/AJAX/Documentation/Live/tutorials/DefiningBindableClientComponent.aspx

Does anyone know how to bind a handler to a property changed event when raised from a property accessor. Looked for ages but cannot find an example anywhere showing how you would do this.

© Stack Overflow or respective owner

Related posts about asp.net-ajax