Microsoft Content Management Server - __VIEWSTATE

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > May 2005 > __VIEWSTATE





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 __VIEWSTATE
Lam

2005-05-10, 7:48 am

Hi all,

We have a problem here regarding this __VIEWSTATE data. CMS always keep data
in viewstate and the data might be very big. Our search engine will only
search for the first 100k data of a posting. The viewstate data here will
indirectly inpact our search result because a lot of junks are returned.

My question is, how can I get rid of the ___VIEWSTATE data in the readonly
web site? Or... how can I workaround this issue?

Thanks,
Lam
Stefan [MSFT]

2005-05-10, 7:48 am

Hi Lam,

MCMS does not store anything in the viewstate.
This is just ASP.NET that stores things in the viewstate.
If you don't need the viewstate for your controls just disable it.

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights

New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------


"Lam" <Lam@discussions.microsoft.com> wrote in message
news:26FB7070-08D6-4286-B0D8-E52474722157@microsoft.com...
> Hi all,
>
> We have a problem here regarding this __VIEWSTATE data. CMS always keep
> data
> in viewstate and the data might be very big. Our search engine will only
> search for the first 100k data of a posting. The viewstate data here will
> indirectly inpact our search result because a lot of junks are returned.
>
> My question is, how can I get rid of the ___VIEWSTATE data in the readonly
> web site? Or... how can I workaround this issue?
>
> Thanks,
> Lam



Lam

2005-05-10, 5:55 pm

Hi Stefan,

I had tested with WoodgroveNet. I had disabled all the controls in the
template page. But I'm still getting all the serialized data in the
__VIEWSTATE hidden field. How should I go about it?

Thanks
Lam

"Stefan [MSFT]" wrote:

> Hi Lam,
>
> MCMS does not store anything in the viewstate.
> This is just ASP.NET that stores things in the viewstate.
> If you don't need the viewstate for your controls just disable it.
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
> New to MCMS?
> Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
> ----------------------
>
>
> "Lam" <Lam@discussions.microsoft.com> wrote in message
> news:26FB7070-08D6-4286-B0D8-E52474722157@microsoft.com...
>
>
>

Stefan [MSFT]

2005-05-10, 5:55 pm

Hi Lam,

that is more an ASP.NET related issue.
You should post this on an ASP.NET related newsgroup.

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights

New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------


"Lam" <Lam@discussions.microsoft.com> wrote in message
news:CFF1E2E7-B5C9-46F1-9CA6-9D8FF4736D16@microsoft.com...[vbcol=seagreen]
> Hi Stefan,
>
> I had tested with WoodgroveNet. I had disabled all the controls in the
> template page. But I'm still getting all the serialized data in the
> __VIEWSTATE hidden field. How should I go about it?
>
> Thanks
> Lam
>
> "Stefan [MSFT]" wrote:
>


Lam

2005-05-10, 5:55 pm

Hi all,

Here is the answer.
http://scottonwriting.net/sowblog/posts/1608.aspx

Stefan, thanks alot for your help.

Cheers

"Stefan [MSFT]" wrote:

> Hi Lam,
>
> that is more an ASP.NET related issue.
> You should post this on an ASP.NET related newsgroup.
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
> New to MCMS?
> Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
> ----------------------
>
>
> "Lam" <Lam@discussions.microsoft.com> wrote in message
> news:CFF1E2E7-B5C9-46F1-9CA6-9D8FF4736D16@microsoft.com...
>
>
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com