At 09:32 AM 7/15/2002 -0400, Feduke Cntr Charles R wrote:
>Philo,
>
> The standard operation of a disabled field is to not submit the
>value when the field is disabled. So your options in this regard are pretty
>limited: you can hide your fields with style="visibility: hidden" (.Visible
>= false will prevent the control from rendering so that's not a good idea)
>and make dummy controls that mirror the values of these "invisible" controls
>- if something can occur client side to change the values of the disabled
>controls that is. Otherwise pack the values in ViewState and extract them
>manually.
Thanks for your answer - I came up with a better (forehead-smacking)
solution: enable the controls, make them readonly, and set the tabindex to
skip them.
Works a treat. I had been thinking VBish and looking for "locked" instead
of "readonly" :/
Philo