RadGrid DetailTable Doesn’t Rebind!

4 posts, 0 answers
  1. Daniel
    Daniel avatar
    159 posts
    Member since:
    Feb 2014

    Posted 24 Mar 2015 Link to this post


    We are working on a very important project for our company.
    Our project uses Telerik’s RadGrid control.
    We are showing the DetailTable, when the user expands a The Master Table View.

    We are 100% SURE that this issue was not present before an upgrade of Telerik’s Controls!
    It doesn't work now and we don’t know why.

    This is extremely important for us the we solve this issue as soon as possible, as we need to demonstrate the project to our clients soon!

    The user can request different information through various reports.
    Each time the user requests a report, new information is shown in the RadGrid.
    However, the TableDetailView always retains the same columns, as the first request of details!? 

    Please see this video: http://youtu.be/6dFA2mqep_U

    How can I fix that?  

    .NET Programmer at
    ISR Corp.
  2. Daniel
    Daniel avatar
    159 posts
    Member since:
    Feb 2014

    Posted 24 Mar 2015 in reply to Daniel Link to this post


    Here is a sample project that demonstrates the problem.
    Link: https://app.box.com/s/t9j60depdqyh6dftjyfdxgvt1pl148ju
  3. Viktor Tachev
    Viktor Tachev avatar
    2501 posts

    Posted 24 Mar 2015 Link to this post

    Hello Daniel,

    I have replied to your query in the support ticket you have submitted. I suggest we continue the conversation there.

    Once the issue is resolved, you can share the results in the forum. This can help someone that has similar scenario.

    Viktor Tachev

    See What's Next in App Development. Register for TelerikNEXT.

  4. Daniel
    Daniel avatar
    159 posts
    Member since:
    Feb 2014

    Posted 25 Mar 2015 in reply to Viktor Tachev Link to this post

    Hello Viktor,

    Thank you for your reply.

    First, we would like to apologize. The same problem exists in previous versions of RadGrid Control too.

    We assumed that REBINDING the data-source of a RadGrid, will change the information in all its tables: master AND details. We think that such functionality is very trivial and expected, as the idea is to change the whole data of the grid!

    Meanwhile, we found a workaround implement the DYNAMIC functionality that would meet our project’s requirements. We programmatically remove the old details table and add a new one:

    Code (On the treeView_node_cilck Event):

    Dim tableViewOrders As GridTableView = RadGrid1.MasterTableView.DetailTables(0)
    Dim tableViewOrders1 = New GridTableView(RadGrid1)

    Here is a video demonstrating the workaround:

    We wrote a feature request that rebinding the RadGrid will AUTOMATICALLY rebind all tables and all data!
    Here is the feature request:

Back to Top