阅读背景:

如何在剃刀视图中引用表单元素?

来源:互联网 

I have a text box and then a grid under it in a razor view. The grid gets populated through a partial view rendered by a RenderAction method. I would like to put the grid's row count value in the text box. Because the view's elements are rendered top to bottom, I need to modify the textbox's text property after the grid is bound to the data source. I am using a third party grid extension which requires it to be placed in its own partial view file. I know I can modify the text property in the client but I want to do it on the server.I have a text box and then a grid under it in a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: