I am attempting to use the viewstateMoverModule by enabling it in the umbracoSettings.config (http://umbraco.org/apiDocs/html/AllMembers_T_umbraco_UmbracoSettings.htm).
When I turn it on the viewstate doesn't move to the bottom of the page but does this instead to the following blocks.
Ah I worked out my problem, I have a form at the top of the page for 'search' which sends people off to google (its outside the asp.net form element so is valid).
The viewstateMoverModule does not work with multiple form elements because of the line:
int num3 = this.html.IndexOf("</form>");
changing this to
int num3 = this.html.IndexOf("</form>", index);
would fix the problem and mean that it will only 'target' the asp.net form (well the next </form> after the viewstate...).
viewstateMoverModule
I am attempting to use the viewstateMoverModule by enabling it in the umbracoSettings.config (http://umbraco.org/apiDocs/html/AllMembers_T_umbraco_UmbracoSettings.htm).
When I turn it on the viewstate doesn't move to the bottom of the page but does this instead to the following blocks.
Before:
After:
value of the viewstate removed to protect the innocent! ;)
Anyone got any ideas about this?
Ah I worked out my problem, I have a form at the top of the page for 'search' which sends people off to google (its outside the asp.net form element so is valid).
The viewstateMoverModule does not work with multiple form elements because of the line:
changing this to
would fix the problem and mean that it will only 'target' the asp.net form (well the next </form> after the viewstate...).
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.