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.
Unfortunately, activation email could not send to your email. Please try again.

Entity Framework and search/filter

Thread ID:

Created:

Updated:

Platform:

Replies:

106580 Jan 16,2013 02:57 PM Jan 25,2013 10:04 PM ASP.NET MVC (Classic) 1
loading
Tags: Grid
Chris McNear
Asked On January 16, 2013 02:57 PM

    I am wondering if I bind to an entity framework data source (say I pull 100 records out of a 1000) and then do some filtering or searching how can I make it search/filter based on all 1000 records.

In a nutshell I don't want to have to to do all the "leg work" of the sorting and filtering etc (thats why we have these controls right) but I don't want to have to pull in the entire database everytime I do an action....

Any thoughts?


Rakesh D [Syncfusion]
Replied On January 25, 2013 10:04 PM

 

Hi Chris,

 

Thank you for your interest in Syncfusion products.

 

Query : Don't want to pull in the entire database everytime I do an action ?

 

We suspect that you would want to achieve the similar behavior of Custom Data Binding in Grid MVC. Please refer our below online link for sample demo of Custom data binding.

 

Sample Demo : http://mvc.syncfusion.com/demos/ui/grid/DataBinding/CustomBinding

 

For your convenience we have prepared a sample for Custom Data binding and it is attached below. Please refer to it and let us know whether this is the requirement you wanted to achieve using Entity Framework.

 

Please let us know if you have any concerns.

 

Regards,

Rakesh D

 

 



CustomBinding_Entity_1f61f9bb.zip

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.

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.

;