Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

update panel with gridview + scroll position and fixed headers

$
0
0

Hi,

I placed gridview control in update panel control. Scrollbars and fixed headers are working fine. My issue is programatically I am selecting row based on condition. Since the grid is in fixed height div, vertical scroll bar is enabled and selected row is down hidden. So, user has to scroll down to see selected item.

My requirement is to assign scroll position at run time programatically when row is selected and this item is visible when it is rendered. I know that in regular gridview something like this is set: dgItems.FirstDisplayedScrollingRowIndex = selectedIndex;

How can I do this with update panel (used div to show scroll bars) and grid view.

Thanks,

Spunny

 


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>