Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > General Discussions > Detail Table view Rebind problem

Not answered Detail Table view Rebind problem

Feed from this thread
  • Yasar avatar

    Posted on Feb 8, 2012 (permalink)

    Hi,


    I am using radgrid detail table view, in the item command event i need to rebind the detail table view i'm using this command

    e.Item.OwnerTableView.Rebind();

    but it's through error can't find the column.

    please help me for this issue.

    Regards,
    Yasar Arafath

    Reply

  • Posted on Feb 8, 2012 (permalink)

    Hello,

    Try the following code snippet.
    C#:
    foreach (GridDataItem item in RadGrid1.Items)
     {
        GridTableView tableView = (GridTableView)item.ChildItem.NestedTableViews[0]; // rebind DetailTable of all item
        tableView.Rebind();
     }

    Thanks,
    Princy.

    Reply

  • Yasar avatar

    Posted on Feb 8, 2012 (permalink)

    Hi prince,

    Thank you for your reply,

    in your code (GridTableView)item.ChildItem is null.

    i'm not able to rebind.

    Regards,
    Yasar

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > General Discussions > Detail Table view Rebind problem