I have a situation where I need to pass a message to be displayed along with the data for a grid. I am attempting to do this in the _Read action (ajax). I tried to place the message in ModelState, however, when I processed the error and pulled out the message, the grid did not bind the data that was sent. Is there a way to pass additional data down to the client similar to passing additional data up to the client?
I did have a solution, where I set a property value on the first row and the client checked for that value and put up a message, but that only worked when there were results available to display - I may not send any data back (empty result set).
Thanks.
I did have a solution, where I set a property value on the first row and the client checked for that value and put up a message, but that only worked when there were results available to display - I may not send any data back (empty result set).
Thanks.