Previous Topic: Script Injection ValidationNext Topic: Asynchronous Support


Properties of Third-Party Web Controls

Properties for Third-Party Web Controls in CA Gen are stored and transferred through the Session State mechanism of ASP.NET. You must use this mechanism for CA Gen to support browser-controlled history handling.

You may notice subtle differences in the rendering of some third-party controls, especially as related to width and height changes. For example, in the Microsoft List Web Control, when you change the row's property by running a normal Visual Studio .NET developed Web Application, the height property automatically changes because of the control's ViewState.

To prevent SessionState value from overriding the ViewState property, you must manually modify the height when changing a row's property. When the row's value changes, the height value remains unchanged and, it seems that the row's value did not change. In this case, you must use the CA Gen Application Object's SetHeight method to correctly update the height property.

Note: You only notice this type of difference when one property forces a change to another property through the ViewState.