DevExpressHelper.WriteLineToResponse(String) Method
In This Article
OBSOLETE
Use the View
Writes a string to the stream.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
[Obsolete("Use the ViewContext.Writer.WriteLine(string value) method instead.", true)]
public static void WriteLineToResponse(
string value
)
#Parameters
Name | Type |
---|---|
value | String |
#Remarks
Note
The Write
@Html.DevExpress().GridView( settings => {
MVCxGridView grid = c.NamingContainer as MVCxGridView;
...
settings.SetPagerBarTemplateContent(c => {
...
DevExpressHelper.WriteLineToResponse("<label>of " + @grid.PageCount + "</label>");
...
});
}).Bind(Model).GetHtml()
See Also