Version

Enabling Smart Callbacks (AJAX) for WebSchedule Controls

In Ultimate UI for ASP.NET 2006 Volume 2, WebSchedule™ controls can use AJAX to post back only the data that is neccessary. This new feature is called SmartCallbacks. Through changing one property, EnableSmartCallbacks of the WebScheduleInfo™ component, WebSchedule will handle all postbacks behind the scenes, eliminating the need to refresh the entire web page. This way, you will never notice the Web page posting back. Turning on SmartCallbacks is easy – just set the EnableSmartCallbacks property in the Properties window to True. Alternatively, you can set this property in code, as shown below.

In Visual Basic:

Me.WebScheduleInfo1.EnableSmartCallbacks = True

In C#:

this.webScheduleInfo1.EnableSmartCallbacks = true;