Labels

Wednesday, October 15, 2008

View State and JS State Myth Table

Hi,

Below are the figures of Data Change/State Chagne on Simple Postback operations.

View State = False

Changeability

Visibility

Disability

Label

Dependent - Become Declarative Value

Dependent – Become Visible

Dependent - Become Enable

Button

Dependent - Become Declarative Value

Dependent – Become Visible

Dependent - Become Enable

DropDown

InDependent – Maintain Server Changes

Dependent – Become Visible

Dependent - Become Enable

TextBox

InDependent – Maintain Server Changes

Dependent – Become Visible

Dependent - Become Enable

TextBox – Password

ViewState is not maintained. This will become blank.

Dependent – Become Visible

Dependent - Become Enable

Hidden Field

InDependent – Maintain Server Changes

NA

NA

JS State

View State = True

Changeability

Visibility

Disability

Label

Become Declarative Value

Become Visible – Not Maintain JS Changes

Become Visible – Not Maintain JS Changes

Button

Become Declarative Value

Become Visible – Not Maintain JS Changes

Become Visible – Not Maintain JS Changes

DropDown

Maintain JS Changes

Become Visible – Not Maintain JS Changes

Become Visible – Not Maintain JS Changes

TextBox

Maintain JS Changes

Become Visible – Not Maintain JS Changes

Become Visible – Not Maintain JS Changes

TextBox – Password

Will Become Blank.

Become Visible – Not Maintain JS Changes

Become Visible – Not Maintain JS Changes

Hidden Field

Maintain JS Changes

NA

NA

Thanks & Regards,

Arun Manglick Senior Tech Lead

No comments:

Post a Comment