This is a migrated thread and some comments may be shown as answers.

RAD Menu NavigateURL Transfer instead of Redirect

1 Answer 157 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Marc Lee
Top achievements
Rank 2
Marc Lee asked on 15 May 2009, 07:50 PM
Is there any way to get the RadMenu to execute a Server.Transfer instead of a Response.redirect when an item is clicked?  None of the menu items are going outside of the project and I like the cleanliness of the URL staying the same on every page.  Any help would be appreciated!


Thanks,

Marc

1 Answer, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 18 May 2009, 12:13 PM
Hi Marc,

You can easily achieve your goal by hooking on the ItemClick event and call your logic, i.e.

protected void RadMenu1_ItemClick(object sender, RadMenuEventArgs e)  
{  
    switch(e.Item.Text)  
    {  
        case "Item 1":  
        Server.Transfer("....");  
        break;  
    }          


Sincerely yours,
Paul
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Menu
Asked by
Marc Lee
Top achievements
Rank 2
Answers by
Paul
Telerik team
Share this question
or