I have created 3 application pages for a List, NewForm, EditForm and DispForm to replace the out of the box forms. I have activated these pages as a feature and updated the NewFormUrl, EditFormUrl and DisplayFormUrl via tha list.ContentTypes["Item"]. This works great, however, when I Edit an item at the bottom of the list (i.e. the Ribbon is no longer in view and I just see list items) I have to scroll to the top of the page to see the application page.
I notice that the out of the box forms open at the top of the page too, but the user is scrolled to the top automatically. How to I get my new custom Application pages to scroll to the top of the page when opened. Is there a CSS setting I need to override? I have tried to find an answer to this but can't so hopefully someone has hit this issue before.
Thanks!