Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Edited Feature: system.web.helpers.webgrid - add GridPath parameter for links creation [30]

$
0
0
The WebGrid class in needs to have a 'GridPath' parameter that would allow an MVC developer to specify an alternative to using the HttpRequest.Path. This is helpful when using the WebGrid inside a child action view (see MVC's Html.Action or Html.RenderAction extension methods in the System.Web.Mvc.Html.ChildActionExtensions class) and ajax situations where you want to specify a different controller action to handle paging.

Without being to manually specify a path for the grid's links advanced uses of MVC controller actions are not possible without having to parse the the html rendered by the WebGrid itself. At present the class is not designed in such a way as to inject this functionality thru a subclass.

Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>