In previous version, WebFlyPostBackManager enables you to instantly convert standard .NET controls that perform page postback become AJAX callback, without changes to the codes. However, this function is not supported on complex component or other third party component.
![]() |
In version 2.0, WebFlyPostBackManager takes you a step further by adding support to perform partial rendering over Intersoft's own components such as WebGrid, WebCombo, WebInput or any UI components in the WebDesktop. This means you can now write coding logic in the professional approach by using the server-side programming. |
For instance, take a very basic scenario such as adding a GroupColumn to WebGrid and then present the new changes when the user clicks on a standard ASP.NET Button. See the following codes:
protected void Button1_Click(object sender, EventArgs e)
{
WebGrid1.RootTable.TableHeaderVisible = true;
WebGrid1.RootTable.GroupedColumns.Add(new WebGridGroup("ContactTitle"));
WebGrid1.RequiresUIRefresh = true;
WebGrid1.DataBind();
}
A new property called RequiresUIRefresh has been added to all Intersoft's components. As you noticed in above codes, the RequiresUIRefresh property of WebGrid1 instance is set to true. The property is required to be set to true to indicate its user interface needs to be updated by the FlyPostbackManager control.
![]() |
While standard .NET controls can be automatically updated when they have changed, Intersoft controls do not use similar technique as our controls provide broad range of scenarios. For instance, there are scenarios where some of the data properties need to be changed, but the user interface does not need to be updated. With property control, developers will have more flexibility to control the behavior of the partial update. |
To learn more about this new capability, launch Live Samples and see the sample at WebDesktop.NET > What's new in version 2.0 > WebFlyPostBackManager AJAX over Intersoft Control.
In This Section
How-to: Enable automatic callback in FlyPostBackManager
Other Resources
{What's New in 2.0}
