Hi everybody,
I was trying to scroll to the bottom of the page from code behind. Not sure if this is possible, because I am trying to execute a javascript which is client side, generated from server side.
Here is the code section which jumps to an anchor at the bottom of the page:
System.Web.HttpContext.Current.Response.Write(" < SCRIPT LANGUAGE= \"JavaScript \" > window.location = '#SubmitButton'; < /SCRIPT > ");
(I have put some extra spaces in code code above, to make sure it shows on this forum - actually how do I quote some code properly?)
Here is the webpage:
http://www.oipmac.ca/Membership/Mem..._CODE.aspx When you choose an option from the TreeView, it jumps to buttom, but the style of the page is messed up.
The link is changing because of the anchor, so the new link is:
http://www.oipmac.ca/Membership/Mem..._CODE.aspx#SubmitButton
Is it the problem with DNN, that it cannot find this page in the database and there is no skin associated? The problem is that is not even showing the default skin.
How can I fix this?
Thank you,
Steven