Files to look at:
- HomeController.cs (VB: HomeController.vb)
- NorthwindDataProvider.cs (VB: NorthwindDataProvider.vb)
- CallbackPanelPartial.cshtml
- GridViewCategoriesPartial.cshtml
- GridViewPartialView.cshtml
- GridViewProductsPartial.cshtml
- Index.cshtml
- _rootLayout.cshtml
This example demonstrates how to load a content on a menu item click using CallbackPanel callbacks or the jQuery.ajax function.
Note that the jQuery.ajax function doesn't require placing the CallbackPanel on a page(see Provide support for different callback types (jQuery.ajax, Ajax.ActionLink, etc.) for additional details)
See also:
Navigation - How to implement callback-based navigation in the project generated by the Template Gallery