Check out this article, which explains about this problem.
[url]http://www.microsoft.com/india/msdn/articles/87.aspx[/url]

--
Saravana
Microsoft India Community Star,
MCAD,SE,SD,DBA.


"David Treves" <dwork@macam.ac.il> wrote in message
news:#jJNMnRUDHA.2188@TK2MSFTNGP10.phx.gbl...
> Hi All,
>
> I am working on a big site, and in order to make maintenance easier I
> created an abstract page (AbstractPage.aspx) which extends
> "System.Web.UI.Page", and contains all logic which repeats in all ASPX
pages
> in the site.
>
> As understood all ASPX files extend my abstract page (AbstractPage.aspx)
> instead of a direct inheritance from "System.Web.UI.Page".
>
> My problem is that for some reason all web controls in these ASPX files do
> not preserve their view state.
>
> For example: I have in one page a DropDownList which is bound to a data
> view, obviously the binding is executed once (if not postback), as of that
> moment the combo should contain it's values, and respond to events like
> SelectedIndexChanged. But for some reason unless I bind the combo on load
no
> matter what (even if postback), the combo simply clears as if not bound...
>
> I double checked that I did not override any method in my AbstractPage,
> which handles view state, such as LoadViewState.
>
> Did anyone encounter such problem?
>
>
> Thanks in advance,
> David.
>
>