Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I scroll to bottom of page or set focus to edittemplate - fview

Status
Not open for further replies.

fr2

Programmer
May 13, 2008
45
US
I have formview ... with an EDIT link. When I click the edit link the edititem template comes up near the bottom of the page .. but only partially "in sight".

I need the whole edit template to be in sight. Since it is at the bottom of the page .. I could perhaps scroll to the bottom of the page .. then of ocurse it will be in view ...

or .. I could set focus to the last item on the edititem template. But unfortunately the items are all labels mostly, so I cannot set focus to a label? Also because the label is contained within the formview control ... not sure how to handle that ...

Anyway .. how do I scroll make the page scroll to the bottom after clicking the edit link? or better yet how do I ensure the whole edititemtemplate of the formview shows up?
 
Hmm it appears to work .. still kinda testing though

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top