Microsoft Content Management Server - custom Placeholder - ViewState Error

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > March 2005 > custom Placeholder - ViewState Error





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author custom Placeholder - ViewState Error
Leeor Chernov

2005-03-28, 7:56 am

I have built custom place holder, and
I get an error while loading the place holder after it was save on the first
time ,on authoring mode(edit):

"Failed to load viewstate. The control tree into which viewstate is being
loaded must match the control tree that was used to save viewstate during
the previous request. For example, when adding controls dynamically, the
controls added during a post-back must match the type and position of the
controls added during the initial request".

The error comes fom the "CreateAuthoringChildControls" , from there I am
calling the authoringContainer.Controls.Add(TextBoxObj)...(and in that point
it crashes)

What is the problem???

Tnx
Leeor


Stefan [MSFT]

2005-03-28, 6:13 pm

Hi Leeor,

check this article:
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm#55B3910E-2A6C-4397-9490-9BD6F1C8C8D7

Cheers,
Stefan.

--
This posting is provided "AS IS" with no warranties, and confers no rights
Book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------


"Leeor Chernov" <leeor_chernov@mod.gov.il> wrote in message
news:#6V#AW5MFHA.580@TK2MSFTNGP15.phx.gbl...
> I have built custom place holder, and
> I get an error while loading the place holder after it was save on the

first
> time ,on authoring mode(edit):
>
> "Failed to load viewstate. The control tree into which viewstate is being
> loaded must match the control tree that was used to save viewstate during
> the previous request. For example, when adding controls dynamically, the
> controls added during a post-back must match the type and position of the
> controls added during the initial request".
>
> The error comes fom the "CreateAuthoringChildControls" , from there I am
> calling the authoringContainer.Controls.Add(TextBoxObj)...(and in that

point
> it crashes)
>
> What is the problem???
>
> Tnx
> Leeor
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com