问题
Is it possible to override the default 'There is no Data available' message in MVCContrib Grid with a custom message?
回答1:
<%= Html.Grid<SomeModelType>(Model)
.Empty("Some custom message")
...
%>
来源:https://stackoverflow.com/questions/3986528/overriding-the-default-no-data-message-in-mvccontrib-grid