AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Note that if you are working with regular (full) views instead of partial views, follow the approaches described in the KA18732 - How to open external Page / View in a Splitter Pane KB article and examples linked to this article. In both scenarios, you need to handle the client-side ASPxClientNavBar.ItemClick event and initiate a parametrized callback (ajax or CallbackPanel-specific) to the appropriate controller's action method on the server side and get the required partial view. Here are the most straightforward approaches to solving this problem:ġ) Load the required partial views via the jQuery.ajax function by using the approach illustrated in the E4063 - How to use the jQuery.ajax function with DevExpress MVC Extensions code example.Ģ) Or, use our CallbackPanel extension and the MVCxClientCallbackPanel.PerformCallback(Object) method. After that, I added several custom partial views and want to load them dynamically when an end-user clicks a specific item of the NavBar extension in the ContentLeftPartialView.cshtml partial view. I created a new MVC application by using the ASP.NET MVC Web Application template from the Template Gallery (see also: Project Wizard).
0 Comments
Read More
Leave a Reply. |