AdvancedWf.Web/Controllers/BaseController.cs
/// <summary>
/// Extract datatable params from the request and return it as object
/// </summary>
/// <returns></returns>
Extract datatable params from the request and return it as object
Extract datatable params from the request and return it as object
protected DatatableParams GetDatatableParamsFromRequest()
        {
            return new DatatableParams
            {
                nDraw = Convert.ToInt32(HttpContext.Request.Params[DataTableParams.draw]),
                search = HttpContext.Request.Params[DataTableParams.search],
                startString = HttpContext.Request.Params[DataTableParams.start],
                endString = HttpContext.Request.Params[DataTableParams.length],
                order = HttpContext.Request.Params[DataTableParams.order],
                orderDir = HttpContext.Request.Params[DataTableParams.orderDir]
            };
        }
protected DatatableParams GetDatatableParamsFromRequest ( ) { return new DatatableParams { nDraw = Convert . ToInt32 ( HttpContext . Request . Params [ DataTableParams . draw ] ) , search = HttpContext . Request . Params [ DataTableParams . search ] , startString = HttpContext . Request . Params [ DataTableParams . start ] , endString = HttpContext . Request . Params [ DataTableParams . length ] , order = HttpContext . Request . Params [ DataTableParams . order ] , orderDir = HttpContext . Request . Params [ DataTableParams . orderDir ] } ; }
Extract datatable params from the request and return it as object
Extract datatable params from the request and return it as object
None