Ask a Question related to ASP.NET General, Design and Development.
-
Saravana #1
Re: ViewState lost when extending custome Page Object
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...pages> 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 ASPXno> 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> 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.
>
>
Saravana Guest
-
Extending Dreamweaver DOM Object
Hi all, I'm looking for a way to extend the Dreamweaver DOM object with custom functions. In this case I need to backport the copyAssets function... -
How do I stop a cell from extending across the page
Hello and thankyou in advance: I'm about to tear my hair out. I have set up a dynamic table which includes a cell that holds a lot of text... -
Viewstate lost in child controls of a composite control
Hi, 1) You should implement INamingContainer interface 2) You shouldn't change child control's place in the Controls collection after they're... -
listBox ViewState lost
Hi all, I have a listBox which is filled with data if not isPostBack. Then on client side, one more item is added to the listBox( using New... -
Extending a layer across 100% of the width of the page
Hey all I know I'm missing the code that goes into .css that extends the bg- will it work with layers? Can I get the code? Thanks!! BR



Reply With Quote

