开发者

How to get the HTML source for Dynamic rendered partial views in MVC3

I have a page where it has 3 partial views in total.Lets name A,B,C.During开发者_C百科 page load,A and B partial views are loaded. 'A' partial view has a dropdown ,and its on change event ,I need to load the partial view 'C'.Am able to get 'C ',but I also need to get the HTML source for the dynamic 'C' partial view when 'Viewpage source' is viewed.Can any 1 help on this?

Thanks Shiva


I did something similar using the controller name: @ViewContext.RouteData.Values["Controller"]

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜