Reputation: 380
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.
Upvotes: 6
Views: 8780
Reputation: 806
You might also consider one of the implementations of search in ASP.NET Dynamic Data Site that works great: Adding a Multi-Column Search to the Default List page in Dynamic Data.
Upvotes: 0
Reputation: 4144
if you are using .NETv4 then look at this sample of extending the filtering support in dynamic data Text Filtering in dynamic data
Upvotes: 1
Reputation: 2789
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.
Upvotes: 5
Reputation:
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.
Upvotes: 2