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