> Hi,
>
> To make my usercontrol remember the values i set in its public
> properties across postbacks, do i need to explicity write code in the
> getters and setters to enter the data into the viewstate?
Yes. Or, use something other than viewstae (e.g. put your public properties
into a class and store an instance of the class in the session).
> I'm hoping there's some decoration (or something else) i can apply to
> the properties to make their values be persisted automatically?
Not to my knowledge.
trullock@googlemail.com - 19 Feb 2008 20:22 GMT
On Feb 19, 7:23 pm, "Scott Roberts" <srobe...@no.spam.here-webworks-
software.com> wrote:
> <trull...@googlemail.com> wrote in message
>
[quoted text clipped - 13 lines]
>
> Not to my knowledge.
Thanks for the info
Andrew