No data display with ShowHeadersWhenNoRecords="False" and GridClientDeleteColumn

7 posts, 0 answers
  1. ManniAT
    ManniAT avatar
    877 posts
    Member since:
    Nov 2003

    Posted 09 Mar 2009 Link to this post

    Hi,

    I have a grid and it works OK.
    Then I had the idea that it would look better if I remove the headers when no data is displayed.
    The problem - when I set 

    ShowHeadersWhenNoRecords

     

    ="False"

     

    it does allways show the NoRecordsTemplate (even if data is present) - and no data is displayed.
    Data is bound to a linq datasource.

    When I remove my GridClientDeleteColumn it works like expected.
    But this column seems to break the thing.

    To reproduce - buil a simple grid, set ShowHeadersWhenNoRecords="False".
    Should work as expected.
    Add a GridClientDeleteColumn -- it displays always "No records to display"


    Regards

    Manfred
  2. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 12 Mar 2009 Link to this post

    Hi Manfred,

    Indeed, the described behavior is observed. I have alerted our developers, and they will soon investigate the issue in greater detail.
    I hope the problem will be addressed shortly.

    Greetings,
    Yavor
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. ManniAT
    ManniAT avatar
    877 posts
    Member since:
    Nov 2003

    Posted 12 Mar 2009 Link to this post

    Just because I'm curious - is the telerik-points system still active?
    I remeber in the last years customers got some if they find something - my last have been assigned in december.

    By the way - I made a simple work around for this - bind to the DataBound event of the grid and do something like this:

        protected void rgCartLines_DataBound(object sender, EventArgs e) {  
                if (rgCartLines.MasterTableView.DataKeyValues.Count <1) {  
                    rgCartLines.ShowFooter = false;  
                    rgCartLines.ShowHeader = false;  
                }  
            }  
     
    rgCartLine of course is the id of the grid :)

    Regards

    Manfred
  5. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 16 Mar 2009 Link to this post

    Hi Manfred,

    I have updated your Telerik points for your report.
    I hope the work-around you have come up meets your requirements well, while this issue is addressed.

    Kind regards,
    Yavor
    the Telerik team


    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  6. Bent
    Bent avatar
    38 posts
    Member since:
    Sep 2008

    Posted 05 Apr 2009 Link to this post

    What's the news on this issue? It's not fixed in the latest release (Q1 402).
  7. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 06 Apr 2009 Link to this post

    Hi Kenneth,

    Unfortunately, the issue is still not addressed. I hope this will be done in the next couple of weeks. I will update this thread when the problem is fixed.

    Regards,
    Yavor
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  8. Susan Hessler
    Susan Hessler avatar
    13 posts
    Member since:
    May 2006

    Posted 21 Mar 2010 Link to this post

    What's the news on this issue?  And, it also happens with the detailed tables (in my case, the detailed tables do not have a delete column).
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017