MapperDetailAddHiddenControls Method |
Add dedicated hidden controls required by the DetailMapper for maintaining state plus
one hidden control for each non-sensitive field that is hidden for the user.
Namespace:
NetQuarry.Data.WebMappers
Assembly:
EAP.WebMappers (in EAP.WebMappers.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax protected int AddHiddenControls()
Protected Function AddHiddenControls As Integer
Return Value
Type:
Int32
The number controls added for hidden fields.
Dedicated hidden controls are not included in the count.
Remarks
It is essential that the hidden controls be added to the same
container as the existing controls. This is so that script can
find them! In particular, the Find script assumes the same
prefix for all controls on the parent page when copying the
values back from the Find form in javascript.
See Also