Radgrid in Radtab

4 posts, 0 answers
  1. Rizwan Ansari
    Rizwan Ansari avatar
    26 posts
    Member since:
    Nov 2009

    Posted 15 Dec 2010 Link to this post

    Hello sir,
    i have two user control..1st user control has radgrid and user can select a row to see the details..the details rad grid on another usercontrol.
    i placed two user contol on two radtab..now how can i redirect to another radtab to see the details.
    please help me to solve this.
    thanks.
  2. Craig Mellon
    Craig Mellon avatar
    53 posts
    Member since:
    May 2005

    Posted 15 Dec 2010 Link to this post

    Use the RadGrid_ItemCommand then find the tab to redirect to - example VB code below.

    Protected Sub RadGrid1_ItemCommand(ByVal source As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles RadGrid1.ItemCommand
        If e.CommandName = "RowClick" Then
           RadTabStrip1.FindTabByText("YourTabName").Selected = True
        End If
    End Sub
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 15 Dec 2010 Link to this post

    Hello Rizwan,


    I believe, you can access the RadTabStrip control using NamingContainer property of RadGrid in the ItemCommand event. Get access to the RadTabStrip control (in the controls hierarchy) and set the corresponding tab as selected.


    -Shinu.
  5. Rizwan Ansari
    Rizwan Ansari avatar
    26 posts
    Member since:
    Nov 2009

    Posted 15 Dec 2010 Link to this post

    Hi Shinu
    Thanks for reply.
    the situation is when i am selectinn a row in grid i am storing values in session and i want to redirect to that tab and show the grid where i am binding the grid with this session values and also when user not select anyrow and visit that tab then nothing should be display..

    can you help me to solve this.
    thanks
Back to Top