How to stop AutoBringIntoView of grid

7 posts, 0 answers
  1. M Imtiaz
    M Imtiaz avatar
    4 posts
    Member since:
    Aug 2013

    Posted 19 Feb 2014 Link to this post

    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.



  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 21 Feb 2014 Link to this post

    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
  3. M Imtiaz
    M Imtiaz avatar
    4 posts
    Member since:
    Aug 2013

    Posted 21 Feb 2014 in reply to Dimitrina Link to this post

    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.
  4. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 21 Feb 2014 Link to this post

    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
  5. M Imtiaz
    M Imtiaz avatar
    4 posts
    Member since:
    Aug 2013

    Posted 26 Nov 2014 in reply to Dimitrina Link to this post

    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.
  6. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 27 Nov 2014 Link to this post

    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.

     
  7. Tony
    Tony avatar
    1 posts
    Member since:
    Jan 2013

    Posted 02 Dec 2014 in reply to Dimitrina Link to this post

    Hi,

    Ticket # 884889 has been created for this issue.

    Thanks.
Back to Top