Ask a Question related to ASP.NET General, Design and Development.
-
deepika #1
how datagrid scrollbar can keep same position after postback
Hi,
I have a datagrid with 200 rows and an iframe adjacent to it.
When I click on the row, the details of that row show up in the
iframe.
Now suppose I click on the 150th row, the postback occurs and I lose
the view of my selected row because the datagrid now has the scrollbar
repositioned to the top,with datagrid showing the first 70 rows.
How can I keep the scrollbar where it was before the postback so that
the selected row(which in this case is at the bottom of the
datagrid)remains in focus after the postback event?
Please don't suggest pagination.
TIA
Deepika
deepika Guest
-
Scrollbar position changed effect
Hi, How can I add an easing effect to my application's scrollbar so when I change the scrollbar's position, the movement to be applied is... -
setting the vertical scrollbar position
Ok, I have a div on the left had side of the page and inside of this div are a list of folders and you can add folders to this list. Well when the... -
UserControl inside of datagrid - loses its viewstate when datagrid is re-bound on postback
I have a simple usercontrol, a datepicker which contains 3 dropdownlist , it resides inside a datagrid column and i set the selecteddate property of... -
custom usercontrol inside of datagrid - loses its state/viewstate on re-bind/postback of the datagrid
I have a simple usercontrol, a datepicker which contains 3 dropdownlist , it resides inside a datagrid column and i set the selecteddate property of... -
Controlling DataGrid scrollbar position
I've enabled a scroll bar on some of my datagrids but I've noticed that if I select an item from the datagrid, the scrollbar gets set to the top.... -
Steve C. Orr, MCSD #2
Re: how datagrid scrollbar can keep same position after postback
You could probably use SmartNavigation.
Here's more information:
[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwebuipageclasssmartnavigationtopic.asp[/url]
[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconpage.asp[/url]
And here's an alternate technique that uses anchor tags:
[url]http://www.dotnetjunkies.com/tutorials.aspx?tutorialid=681[/url]
--
I hope this helps,
Steve C. Orr, MCSD
[url]http://Steve.Orr.net[/url]
"deepika" <deepika@volcanomail.com> wrote in message
news:7474a18f.0308011034.403f7149@posting.google.c om...> Hi,
> I have a datagrid with 200 rows and an iframe adjacent to it.
> When I click on the row, the details of that row show up in the
> iframe.
> Now suppose I click on the 150th row, the postback occurs and I lose
> the view of my selected row because the datagrid now has the scrollbar
> repositioned to the top,with datagrid showing the first 70 rows.
>
> How can I keep the scrollbar where it was before the postback so that
> the selected row(which in this case is at the bottom of the
> datagrid)remains in focus after the postback event?
>
> Please don't suggest pagination.
> TIA
> Deepika
Steve C. Orr, MCSD Guest



Reply With Quote

