datagrid manipulation issue

R

ralf

I am using vb.net, and here is what I am trying to do.

I have a datagrid that has lots of rows. The user has to either update
or delete each row. If the user has scrolled a long way down the page,
which happens, and deletes or updates a row, the databinding forces the
page to reload and the datagrid is viewed again starting at the top.
So, if the user is going from one row to the next, he would have to
scroll down to find his last position to do the step again. This is
very tiresome for the user.

I would like for the row to either update or delete and keep the user
at that position.

Is this possible?
What is the best approach?
 
B

Brock Allen

If you are using ASP.NET 2.0 then you can put in the directive:

<%@ Page MaintainScrollPositionOnPostback="true" %>
 
B

Brock Allen

I am running .NET 1.1, not 2.0. What are my options with this??


There is a <%@ Page SmartNavigation="true" %> option that sort of does the
same thing but it utilizes a hidden IFRAME to do the post. If it works for
you then great, but it might not.

-Brock
DevelopMentor
http://staff.develop.com/balle
 
R

ralf

thx for that info. I believe it will work for me. All the clients
will have IE 5.5, and from what I have read, the smart navigation
should work with that.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top