Use Response.Redirect on SelectedTabChange

2 posts, 0 answers
  1. PJ Rodriguez
    PJ  Rodriguez avatar
    37 posts
    Member since:
    Feb 2005

    Posted 23 Mar 2012 Link to this post

    I have a ribbonbar in a masterpage. What I want to accomplish is to perform a response.redirect("urlhere") when the end user clicks on a tab. I am trying to accomplish this by using the following code below:
    Private Sub rrbMain_SelectedTabChange(sender As Object, e As Telerik.Web.UI.RibbonBarSelectedTabChangeEventArgs) Handles rrbMain.SelectedTabChange
        Select Case e.Tab.Text
            Case "Tab1"
            Case "Tab2"
        End Select
    End Sub

    Unfortunately, that does not work. Clicking on a tab does not perform any redirection. Your help is appreciated. Thanks.

  2. Bozhidar
    Bozhidar avatar
    1180 posts

    Posted 26 Mar 2012 Link to this post


    I've tested your scenario, but it seems to work fine on my end. Please review the attached pages and see if they work on your side as well.
    Kind regards,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top