Provide ways to stop stateful field processor from traverse control tree
Description
Three ways are provided. At the application global level, you can set in the app/web config file <add key="NHibernate.Burrow.WebUtil.StopUsingStatefulFields" value="true" /> This will completely stop statefulfield from being used. At the page or control level you have two other ways, 1) let your page or control implement NHibernate.Burrow.WebUtil.IStatefulFieldsControl, if the property IgnoreStatefulFields returns true, statefulfields will be ignore in the whole branch of control tree under this control or page 2) put a [NHibernate.Burrow.WebUtil.Attributes.IgnoreStatefulFields] attribute on your page or control, statefulfields will be ignore in the whole branch of control tree under this control or page
Three ways are provided.
At the application global level, you can set in the app/web config file
<add key="NHibernate.Burrow.WebUtil.StopUsingStatefulFields" value="true" />
This will completely stop statefulfield from being used.
At the page or control level you have two other ways,
1) let your page or control implement NHibernate.Burrow.WebUtil.IStatefulFieldsControl, if the property IgnoreStatefulFields returns true, statefulfields will be ignore in the whole branch of control tree under this control or page
2) put a [NHibernate.Burrow.WebUtil.Attributes.IgnoreStatefulFields] attribute on your page or control, statefulfields will be ignore in the whole branch of control tree under this control or page