Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to conditionally create controls via callbacks using the ASPxCallbackPanel

$
0
0

The standard ASP.NET behavior demands full page hierarchy recreation on each page request. However, there are situations when the ASPxNavBar (with turned callbacks on) is expanded too slowly if the nearest ASPxGridView binding is long. This example demonstrates the following tasks:
1. How to create a control via callbacks;
2. How to conditionally create controls on each page request.

Warning: this solution requires deeper examination, because it can't be simply implemented in the large projects, and it might break the existing functionality.

See also:
How to create ASPxGridView after the page has been loaded

Update: it is not recommended to use this example if its implementation breaks the existing project functionality. This example is not supported starting with version v2010 vol 2.7. We apologize for a possible inconvenience.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>