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

[Solved] Need Action() to load to a specified div

1 Answer 59 Views
Menu
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Christopher Ronak
Top achievements
Rank 1
Christopher Ronak asked on 29 Mar 2010, 10:35 PM
Hello,

I'd like to use the Action() method to load a partial view into a specific div.
My controller returns the following when I click on one of my menu items:

return

 

this.PartialView("~/Views/Project/BudgetMain.ascx", viewModel);

 


I would like that partial view rendered in a specific place.  Something like this:

.Action("div#BudgetArea",

"OpenBudget", "Budget");

I'm ok with not using Action if i can specify a $.load() call when the menu is clicked - if you could show me how to do that instead.

Thanks!

Chris

 

1 Answer, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 30 Mar 2010, 09:00 AM
Hello Christopher,

Use the onSelect client-side event.

Kind regards,
Alex Gyoshev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Menu
Asked by
Christopher Ronak
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Share this question
or