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:
Unfortunately, that does not work. Clicking on a tab does not perform any redirection. Your help is appreciated. Thanks.
Private
Sub
rrbMain_SelectedTabChange(sender
As
Object
, e
As
Telerik.Web.UI.RibbonBarSelectedTabChangeEventArgs)
Handles
rrbMain.SelectedTabChange
Select
Case
e.Tab.Text
Case
"Tab1"
Response.Redirect(
"~/tab1.aspx"
)
Case
"Tab2"
Response.Redirect(
"~/tab2.aspx"
)
End
Select
End
Sub
Unfortunately, that does not work. Clicking on a tab does not perform any redirection. Your help is appreciated. Thanks.