We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

FALLO EN FILTROS DE BÚSQUEDA CON URL ADAPTOR

Thread ID:

Created:

Updated:

Platform:

Replies:

127771 Dec 8,2016 04:31 AM UTC Dec 9,2016 06:03 AM UTC ASP.NET MVC 1
loading
Tags: Grid
César Ventura
Asked On December 8, 2016 04:31 AM UTC


Hola,

tengo un grid con el que muestro datos mediante un URL Adaptor de la siguiente manera:

View:

 @(Html.EJ().Grid<BID_POS>("FlatGrid")
.Datasource(ds => ds.URL("/Controller/DataSource").Adaptor(AdaptorType.UrlAdaptor).offline(false))
.FilterSettings(filter => { filter.FilterType(FilterType.Excel); })

.......

)

controller:

public ActionResult DataSource(DataManager dm)
        {
            var DataSource = (from pos in db.BID_POS
                              select pos);
            DataResult result = new DataResult();
            result.resultPointOfSale = DataSource.OrderByDescending(p => p.b_pos_id).Skip(dm.Skip).Take(dm.Take).ToList();
            result.countPointOfSale = DataSource.Count();

            return Json(new { result = result.resultPointOfSale, count = result.countPointOfSale }, JsonRequestBehavior.AllowGet);
        }

-----------------

Al querer utilizar el filtro, no me retorna ningún resultado. Que puedo hacer para poder realizar el filtrado correctamente de toda la información de la base de datos?

gracias por su respuesta.




Mohammed Farook J [Syncfusion]
Replied On December 9, 2016 06:03 AM UTC

Hi Cesar, 

Thanks for contacting Syncfusion Supports. 


Based on your requirement we have already discussed in our Knowledge Base. Please find the link for your reference. 




Regards, 
J.Mohammed Farook  


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;