Change PageIndex in DetailTableView

2 posts, 0 answers
  1. วรวุฒิ
    วรวุฒิ avatar
    21 posts
    Member since:
    Oct 2007

    Posted 17 Oct 2008 Link to this post

    We are used RadGrid with MasterTabelView and DetailTableView to display hirachycal data.We implemented needdatasource to bind grid and pageindexchage to handle pagechage event but We have problem when DetailTableView need to change pageindex.How we do to handle me thode for DetailTableView pageindex change inside the MasterTableView.

    Please Help
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 19 Oct 2008 Link to this post


    You can differentiate between the Master and child table using the Name property in the PageIndexChanged event as shown below:

      if( e.Item.OwnerTableView.Name=="DetailTable")
            //Write your code snippet here

    Note: You can set the name property from the aspx in the  DetailTable

        <telerik:GridTableView Name="DetailTables" >

Back to Top