grid view with custom header virtualization problem

12 posts, 0 answers
  1. Jan
    Jan avatar
    58 posts
    Member since:
    May 2010

    Posted 21 Oct 2010 Link to this post

    Hi, 
    I have certain problems using custom header with virtualization. When I am doing horizontal scroll, my headers get messed up (like they are partially painted, and partially left grey).
    The problem disappears when I turn the virtualization off, but that is not the solution for me because I need virtualization for the sake of performance.
    Can you please help me with that?
  2. Yavor Georgiev
    Admin
    Yavor Georgiev avatar
    982 posts

    Posted 21 Oct 2010 Link to this post

    Hello DCMS,

     Could you please share some details of your custom header solution? We'll be better equipped to assist you once we know more about your scenario.

    Best wishes,
    Yavor Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. Jan
    Jan avatar
    58 posts
    Member since:
    May 2010

    Posted 21 Oct 2010 Link to this post

    Hello Yavor Georgiev , 
    I have created a small demo with our implementation. I am also attaching a picture to demonstrate what happens on our real application.
    ticket ID is: 359504
  5. Yavor Georgiev
    Admin
    Yavor Georgiev avatar
    982 posts

    Posted 21 Oct 2010 Link to this post

    Hello DCMS,

     I'm sorry, but I was unable to replicate the issue when running your application locally with our Q2 SP2 release or our latest Internal Build assemblies. Could you please tell me what version of our controls are you using?

    Kind regards,
    Yavor Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Jan
    Jan avatar
    58 posts
    Member since:
    May 2010

    Posted 22 Oct 2010 Link to this post

    Hi Yavor Georgiev , 
    Oddly enough, I cannot reproduce it on the example too, but on the real application it still exists. It is more complicated on real application though... I have more custom column layouts, there is some logic on the textboxes in the header also (but only on key down, and this behavior happens on scroll, so I excluded that part).
    The real problem is that I cannot begin to understand what the problem is.. :S It just happens sometimes, and sometimes it works with no problem, I cannot reproduce it all the time.
    Do you have any idea why it behaves this way? Remember, this is only when the virtualization is on...
    Thanks :)
  7. Jan
    Jan avatar
    58 posts
    Member since:
    May 2010

    Posted 22 Oct 2010 Link to this post

    Hi Yavor Georgiev , 
    I have managed to reproduce the problem on the example too, as you can see in the attached picture. You just have to be really vigorous with the horizontal scroll to achieve it, and also I think it depends on the machine's processing power (maybe :S).
    When this happened to me, my cpu usage for both cores was around 95%..
  8. Jan
    Jan avatar
    58 posts
    Member since:
    May 2010

    Posted 22 Oct 2010 Link to this post

    Also, I forgot to mention, I did this using latest internal builds.
  9. Yavor Georgiev
    Admin
    Yavor Georgiev avatar
    982 posts

    Posted 22 Oct 2010 Link to this post

    Hello DCMS,

     Unfortunately we are still not able to reproduce your problem, even when testing on two machines with a myriad of assemblies (all our public releases since Q2, plus our latest internal build, as well as our Q3 Beta release). Could you please try and reproduce the issue, while making a video of your screen, with Task Manager brought up.

    Sincerely yours,
    Yavor Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  10. Jan
    Jan avatar
    58 posts
    Member since:
    May 2010

    Posted 22 Oct 2010 Link to this post

    HI Yavor Georgiev , 
    Thanks for sticking with me on this issue, your help is greatly appreciated :)
    I have added a bit more logic to my example in order to make bit more like the actual application.
    ticket ID is: 359864
    You can try now to reproduce by clicking on the right-most textbox, and then press and hold left arrow key until you reach the left-most column, and if necessary repeat this a couple of times.The bug usually happens for me on the second run through. If you are still unable to reproduce it, I will record my screen and send it to you.


  11. Yavor Georgiev
    Admin
    Yavor Georgiev avatar
    982 posts

    Posted 25 Oct 2010 Link to this post

    Hello DCMS,

     Thank you for your new project and instructions. It seems that scrolling when one of the header cell's text boxes is focused makes Silverlight's FocusManager behave inconsistently and thus the header cell ends up with an incorrect clipping. I would suggest to use our Custom Filter Row approach if you'd like to have filtering in such a way,

    Greetings,
    Yavor Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  12. Jan
    Jan avatar
    58 posts
    Member since:
    May 2010

    Posted 26 Nov 2010 Link to this post

    Hi Yavor , 
    You are right, it does seem that when I have focus in header I get this errors, but if I am to use your custom header implementation, wouldn't I get the same problem when scrolling? I do need to support the navigation with key events...

    I am trying also to think of a way around it.. like to loose focus when doing ScrollIntoView method, but I haven't had much luck...


    :S
  13. Yavor Georgiev
    Admin
    Yavor Georgiev avatar
    982 posts

    Posted 29 Nov 2010 Link to this post

    Hello DCMS,

     The Custom Filter Row does not use the same approach as the header cells. Please try using it and let me know how it goes.

    Regards,
    Yavor Georgiev
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
Back to Top
DevCraft banner