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

How to stop AutoBringIntoView of grid

6 Answers 84 Views
GridView
This is a migrated thread and some comments may be shown as answers.
M Imtiaz
Top achievements
Rank 1
M Imtiaz asked on 19 Feb 2014, 12:01 PM
Hi,

I have my grid in collapsible panel and its at the bottom of the page and the first column is a check box.

Now when page is loaded only first two or three records are visible. Instead of first scrolling down i tried to mark the check box of these two or three records. Instead of marking the check box control first goes to bring the grid in view means auto scroll downward. Then i have to click again to mark the check box.

I want this AutoBringIntoView functionality disabled. 

I have tried few things like ScrolMode='Deferred' but this didn't work.

I also used SalespersonAccessGrid_RequestBringIntoView event and only wrote e.Handled = True. This does not allow grid to scroll down but the selection that i have made was not persisting on the binding object/attribute.

Thanks.



6 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 21 Feb 2014, 07:47 AM
Hello,

Is the line you click on not fully visible? Generally there is not a away to avoid the item you clicked on to be brought into view. What I can suggest you to try reducing the number of clicks on GridViewCheckBoxColumn so that the CheckBox is clicked. 

Regards,
Didie
Telerik
0
M Imtiaz
Top achievements
Rank 1
answered on 21 Feb 2014, 10:14 AM
Hi,

Line is properly visible. All i try to do is mark the CheckBox and instead of changing the state of the CheckBox control goes to bring the entire gird into view. Than i have to click again to change the state. 

Only first click is causing the problem second one is working fine.

Thanks.
0
Dimitrina
Telerik team
answered on 21 Feb 2014, 11:23 AM
Hello,

Bringing the entire RadGridView into View would not be an expected behavior. In order to avoid any misunderstandings may I ask you to isolate the issue in a demo project? You can take a look at this blog post for a reference on how to isolate an issue. 

Regards,
Didie
Telerik
0
M Imtiaz
Top achievements
Rank 1
answered on 26 Nov 2014, 02:24 PM
Hi Dimitrina,

Sorry for the late reply as we put this issue on hold for a while in order to work on some other issues.

I have created a sample for you but i guess i cant attach any .zip file with this message. So can you please help me how to send that sample to you.

Thanks.
0
Dimitrina
Telerik team
answered on 27 Nov 2014, 04:25 PM
Hi,

Indeed, the forum posts do not allow attaching files other than images. You can open a new support ticket and attach the sample project there. 

Regards,
Dimitrina
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Tony
Top achievements
Rank 1
answered on 02 Dec 2014, 01:18 PM
Hi,

Ticket # 884889 has been created for this issue.

Thanks.
Tags
GridView
Asked by
M Imtiaz
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
M Imtiaz
Top achievements
Rank 1
Tony
Top achievements
Rank 1
Share this question
or