views:

1376

answers:

2

Does anyone know how to add a simple search textbox on an ASP.NET Dynamic Data list page? I want to be able to drill down to a specific row immediately, without having to use the dynamic data filters to narrow the scope.

+2  A: 

The new Dynamic Data 4 preview includes a Data Source called a BusinessLogicDataSource, here are some examples of how you can use it to implement search.

http://quickstarts.asp.net/previews/dynamicdata/dd_AddSearchtoDynamicData.htm

I can't really say how to do it in the current implementation of Dynamic Data, I was searching for this answer as well and stumbled onto both the preview site and this question.

+5  A: 

The CodePlex project named ASP.NET Dynamic Data Filtering makes it possible to easily search any information on your site even if you use the Dynamic Data framework from ASP.NET 3.5. Follow these instructions to get a search textbox.

Yeah this is great.
Graphain
@pnotus your link took me to a parked godaddy page. Please fix your link, I'd really like to see the page.
Jason M
@Jason M, the link is now updated
Josh says "You will see an action called UpgradeData source appear in the Action popup, hit it." however I did not see that action and thus was not able to get this to work. Anyone experience that?
Jason M