In my repeater, I have a row of textboxes. If I am entering 200 records, obviously maybe 10 or 15 will be seen on screen, The cursor moves to the next textbox row but that is overlapped by my footer.So, I need to push the repeater(old row) one column up
when a new textbox row activates by tab click so that the active row is shown on the screen always if navigating from top or bottom. I need to place the active row on top of the display section at any time on the repeater. Please check my code and suggest
me some workarounds on this. My code is:
I need to take the active textbox row and show it on top by moving the repeater up in positioning. I need to push the repeater(old row) one column up when a new textbox row activates by tab click so that the active row is shown on the screen always if navigating
from top or bottom. Please help me in this
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Member
168 Points
497 Posts
Repeater textbox to position on top when focused on it
Feb 08, 2017 07:45 AM|acmedeepak|LINK
In my repeater, I have a row of textboxes. If I am entering 200 records, obviously maybe 10 or 15 will be seen on screen, The cursor moves to the next textbox row but that is overlapped by my footer.So, I need to push the repeater(old row) one column up when a new textbox row activates by tab click so that the active row is shown on the screen always if navigating from top or bottom. I need to place the active row on top of the display section at any time on the repeater. Please check my code and suggest me some workarounds on this. My code is:
I need to take the active textbox row and show it on top by moving the repeater up in positioning. I need to push the repeater(old row) one column up when a new textbox row activates by tab click so that the active row is shown on the screen always if navigating from top or bottom. Please help me in this
Star
8670 Points
2882 Posts
Re: Repeater textbox to position on top when focused on it
Feb 09, 2017 06:13 AM|Cathy Zou|LINK
Hi acmedeepak,
Please try to use $(window).scrollTop().
Best Regards
Cathy
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.