RadGrid CSS problem

7 posts, 0 answers
  1. UMA MAHESWARA RAO
    UMA MAHESWARA RAO avatar
    8 posts
    Member since:
    Jul 2011

    Posted 23 Nov 2011 Link to this post

    In compatibility view enable my grid css are not adjusting .Please check the following attachment.
  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 25 Nov 2011 Link to this post

    Hi,

    The problematic behaviour is actually a problem in IE compatibility view. In this case when you have an empty cell the borders does not appear. In order to avoid this behaviour you should you could check if the sell is empty and add "&nbsp" text for this item.
    I would suggest you to review the following online thread which elaborates on this issue and proved a proper workaround.

    Best wishes,
    Maria Ilieva
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. JJ
    JJ avatar
    147 posts
    Member since:
    May 2010

    Posted 12 Apr 2013 Link to this post

    I have one GridButtonColumn. sometimes can be empty. Use put " " for grid cell (on grid_ItemDataBound) works on regular base for the grid, but for my grid, I have a button in a column to open a new window using  below code.  As long as the new winodw pops, the white line cell comes back again
    StringBuilder sbNewFileReq = new StringBuilder();
      
    sbNewFileReq.Append("radopen(null, 'wndNewFileReq');");
      
    ScriptManager.RegisterStartupScript(this, GetType(), "ViewOppUpKey", sbNewFileReq.ToString(), true);

    This empty cell is on my second level of the grid, when set

     

     

    HierarchyLoadMode="ServerBind" and expand the grid, the empty cell no edge problem will also comes up.

    If there anyway we can change css to fix the problem?

     


    Please help!
  5. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 17 Apr 2013 Link to this post

    Hi J,

    Could you please provide a screenshot of the exact behavior you are describing so that we could provide proper solution for your case?

    Greetings,
    Maria Ilieva
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  6. JJ
    JJ avatar
    147 posts
    Member since:
    May 2010

    Posted 17 Apr 2013 Link to this post

    Files Last Unsucessfully Processed Datetime is a GridButtonColumn column
    <telerik:GridButtonColumn DataTextField="LastUnsuccessfulDateTime" CommandName="FailHistory"
                                      SortExpression="LastUnsuccessfulDateTime" ButtonType="LinkButton" FilterControlAltText="Filter LastUnsuccessfulDateTime2 column"
                                      HeaderText="Files(s) Last Unsuccessfully Processed Date/Time0" UniqueName="LastUnsuccessfulDateTime2">
                                  </telerik:GridButtonColumn>
    Some cell will be empty, when empty cell, there will be no edge - see attachment. On  ItemDataBound, usually I can manually add "&nbsp;"  fro empty cell to solve the problem,  but in this case it won't work - when click grid expend (when set HierarchyLoadMode="ServerBind" ) or when click "View History" to get a pop up radwindow, ie, after the form get a ajax half post back, the empty cell will alwasys be no edge like showing on the attachment since the code won't hit ItemDataBound any more.

    Thanks
  7. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 22 Apr 2013 Link to this post

    Hi JJ,

    Please try to set the HierarchyLoadMode to HierarchyLoadMode.ServerOnDemand in order to have the ItemDataBound fired for every child grid and verify if this helps.


    All the best,
    Maria Ilieva
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  8. JJ
    JJ avatar
    147 posts
    Member since:
    May 2010

    Posted 22 Apr 2013 Link to this post

    I can't get it work. Is it possible for you to send a simple example?
    Thanks
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017