Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Viewstate and other PageBase.vb issuesViewstate and other PageBase.vb issues
Previous
 
Next
New Post
9/19/2006 6:41 PM
 

I'd like to see the ability to override the viewstate enhancement made by DNN.  By default asp.net places the viewstate at the top of the page, so that there is no viewstate corruption if the client does a postback before the page has fully loaded.  The viewstate enhancement made by DNN, which places it at the bottom of the page, causes problems on slower-loading pages if the user clicks the postback too quickly.  I understand placement at the bottom for search engine optimization.    And, in most cases it works fine.  But viewstate corruption does occur, and it is untrappable.

I'd like DNN to have the ability to override this enhancement since this can't be done entirely by a module (since viewstate is a page event, not a control event), and since I think this will become more of a problem as time goes on, as more web site owners switch to DNN worldwide, latency becomes a greater issue etc.

The issue is in render() of PageBase.vb. 

And, as long as we're discussing PageBase.vb...  It appears to me the ProcessControl function should be optimized too.  TypeOf is an expensive operation, it tests around 15 types (even if it found it prior) and it continues to check even if there's no localization data.  And ProcessControl loops through every control on the page, even if they match types it doesn't break out of the tests.  With each DNN tooltipped control having about three controls, and most pages having 100 or so controls...it seems to me that optimizing out the high-hit programming would have a lot of effect there.



Shane Miller
Call Centers 24x7
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Viewstate and other PageBase.vb issuesViewstate and other PageBase.vb issues


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out