> Hi,
>
[quoted text clipped - 17 lines]
>
> *** Sent via Developersdexhttp://www.developersdex.com***
Hi Chris,
Are you writing a derived class?
Perhaps you could post some code to clarify the problem you're having?
Brett.
Chris Peeters - 10 Aug 2007 13:11 GMT
Hello,
I just try to type in Page_Load()
lstColors.ViewState["test"] = 0;
with lstColors defined as a normal asp-ListBox.
ViewState is the inherited property.
but I realised what i am doing wrong:
I try to access the listbox-protected property from a different class,
page-class , which is not allowed of course !
Page class can only access its own inherited ViewState-property.
thanks anyway
Chris