Overriding the default 'No Data' Message i

2019-05-14 03:11发布

问题:

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")
        ...
%>