This is a migrated thread and some comments may be shown as answers.

Scrolling behavior when adding a new row

5 Answers 108 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Kim Bouchard
Top achievements
Rank 1
Kim Bouchard asked on 10 Jul 2008, 08:46 AM
Hi,

i've got a problem with the default vertical scrolling behavoir when
adding a new row.

My grid shows 4 rows initially, the new row gets added
by bindingsource.addnew().
After the new blank row is created in the grid the vertical scrollbar appears and
the first row gets out of the current view (automatic scroll down).

The height of the grid has enough space for more rows.
The VerticalScrollState is set to AlwayHide.

I don't want that automatic scrolling, what can i do ?

Regards 
Kim
 

5 Answers, 1 is accepted

Sort by
0
Martin Vasilev
Telerik team
answered on 11 Jul 2008, 02:35 PM
Hello Kim,

Thank you for writing.

The reported behavior is a known issue that has been addressed in the latest version (Q1 2008 SP1). I would recommend upgrading to this version.

If after upgrading you still experience this issue, please create a formal support ticket and send me a small project that demonstrates it. It allow me to investigate your scenario and provide you with further assistance.

If you have other questions, do not hesitate to contact me again.

 
Best wishes,
Martin Vasilev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Kim Bouchard
Top achievements
Rank 1
answered on 01 Aug 2008, 02:09 AM
Hi again,

in the meantime i have upgraded my project to Q2 2008.
The problem still exists !!!???

It's just a normal grid bind to a BindingSource with a
underlaying DataTable.

When i add a new blank row with BindingSource.AddNew()
the first row is scrolled out of the current view.

Kind Regards
Kim
0
Martin Vasilev
Telerik team
answered on 01 Aug 2008, 12:39 PM
Hi Kim Bouchard,

Thank you for getting back to me.

A have tried the described scenario with Q2 2008 but I didn't manage to reproduce the undesired behavior when using BindingSource.AddNew() method. Please, open a new support ticket and send me a small example application that demonstrates that. It will help me to investigate your specific case and provide you with further assistance.

I am looking forward for your project.

Best wishes,
Martin Vasilev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Yael
Top achievements
Rank 1
answered on 19 Aug 2008, 07:37 AM
I can confirm this scenario. It happens to me exactly as it is described.
 I will be happy to get a solution for that.
Yael
0
Martin Vasilev
Telerik team
answered on 20 Aug 2008, 10:19 AM
Hi Yael,

Thank you for contacting me.

Unfortunately I am still unable to reproduce the described behavior. Please, find attached a small example application that demonstrates how to add new rows using BindingSource.AddNew() method.

If you experience the issue, please create a new support ticket and send me an example application.

Do not hesitate to contact me again if you need additional assistance.

Regards,
Martin Vasilev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
GridView
Asked by
Kim Bouchard
Top achievements
Rank 1
Answers by
Martin Vasilev
Telerik team
Kim Bouchard
Top achievements
Rank 1
Yael
Top achievements
Rank 1
Share this question
or