Skip to main content

DevExpressHelper.WriteLineToResponse(String) Method

OBSOLETE

Use the ViewContext.Writer.WriteLine(string value) method instead.

Writes a string to the stream.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.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 WriteLineToResponse method is obsolete. Use the ViewContext.Writer.WriteLine method instead.

@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