|
|
||||||
|
#1
|
|
|
|
|
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 |
|
|
|
#2
|
|
|
|
|
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 |
|
#3
|
|
|
|
|
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: [..] |
|
#4
|
|
|
|
|
Hi Lam,
that is more an ASP.NET related issue. You should post this on an ASP.NET related newsgroup. Cheers, Stefan |
|
#5
|
|
|
|
|
Hi all,
Here is the answer. http://scottonwriting.net/sowblog/posts/1608.aspx Stefan, thanks alot for your help. Cheers "Stefan [MSFT]" wrote: [..] |
|
|
| Similar Threads | |
| Change __VIEWSTATE to something else Is it possible to change the __VIEWSTATE id? The reason is we shouldn't have any id starting with underscores on XHTML pages. Thank you |
|
| __VIEWSTATE different between localhost and server Hello, I was testing my application on my localhost, when I View Source, I see the __VIEWSTATE and its only small in size (about 500 bytes). When I copy this same... |
|
| ASP + Ajax + __VIEWSTATE = BAD ? I have a ASP 2.0 page where I use some Ajax code. The Ajax code (JavaScript) is inserted from CodeBehind. In my page I have a submit button and some links for Ajax... |
|
| __VIEWSTATE I have a page, with an iframe in it. the iframe loads up another ASPX page, I have set both pages enableviewstate=false The problem is, if I click on anything on the main... |
|
| __VIEWSTATE data HUGE!!! I have an application being developed and I've noticed that in most of the pages the __VIEWSTATE data is HUGE, about 4 pages full in many cases. This leads to bloated page... |
|
|
All times are GMT. The time now is 07:25 PM. | Privacy Policy
|