Grid column width changes after callback

6 posts, 0 answers
  1. Warnestam
    Warnestam avatar
    83 posts
    Member since:
    Sep 2006

    Posted 05 Nov 2008 Link to this post

    Hi,

    We have a couple of problems where the column widths are changing after callbacks. I'll try to explain one of then here.

    Data and columns are created dynamicly (in the Init() method) and we are not using any fixed widths for localisation reason. In a page we have a RadMultiPage containing several views and every view can change data/grid on the other. This is what we do to recreate the error;

    1) Load page. Grid in first view is ok
    2) Go to second view
    3) Go to first view, Grid is ok
    4) Go to  second view again
    5) Do something that forces a callback
    6) Go to first view, Grid not ok (horizontal scrollbar is gone and columns is compressed)

    We are using paging, static headers and is allowing scrolling on the client

  2. Warnestam
    Warnestam avatar
    83 posts
    Member since:
    Sep 2006

    Posted 06 Nov 2008 Link to this post

    I've created a sample project where the problem can be replicated. The problem is that when a RadGrid is not visible at loadtime (or callback) the columns will not get the width based on its content, instead the columns are made to fit into the grid itself without horizontal scrollbar. Is this a known bug in Q1 2008 and are there a work around?

    Best regards
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 07 Nov 2008 Link to this post

    Hello,

    Can you please open a formal support ticket and send us the sample you mentioned there? Thus I could debug it locally and turn back with a proper solution for you.

    Thank you the cooperation in advance.

    Greetings,
    Iana
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  5. Warnestam
    Warnestam avatar
    83 posts
    Member since:
    Sep 2006

    Posted 10 Nov 2008 Link to this post

    Ok, I have opened ticket 172895
  6. Rob
    Rob avatar
    23 posts
    Member since:
    Jul 2008

    Posted 09 Jan 2009 Link to this post

    What was the outcome on this problem?

    I have a similar issue where the column widths are lost on an Ajaxified grid that is set up for in-line editing.

    The column widths for all columns are set to a fixed width declaratively in the ASPX page, however when an in-line edit is cancelled in the UpdateCommand event I am losing the column width for the majority of my columns.
  7. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 10 Jan 2009 Link to this post

    Hello Rob,

    Could you please send us the problematic page? Thus I could have a better look into your grid and scenario and try finding what could have cause the issue in your case.

    Thank you for your cooperation in advance.

    Sincerely yours,
    Iana
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017