Web Forms :: Implement Contains XPath Search With XmlDataSource
Jul 17, 2015
I have a traffic rss feed which I want to filter when a user enters some text in the text box. For example, if the user enters “Leicester” in the search box then only data containing “Leicester” in the “Tile” OR “Desscription” with be displayed.
The issue is that the length of the feed changes regularly and rather than selecting a range of movies with the XPATH (i.e. 1-3 in the XML) I need to select 3 totally random movies from the XML and bind this back to the repeater.
i have some text boxs in a page and in the same page there will be a table 'grid' like for holding the search result.When the user start editing and of the textbox above, the search must start by sending all textboxs values to the server 'ajax', and get back with the results to fill the below grid.
Notes:This grid should support paging, sorting by clicking on headers and it will contains some controls beside the results such as checkboxs for boolean values and links for opening details in another page.
I know many ways to do this some of them are:1- updatepanel around all of these controls and thats it "fast dirty solution"
2- send the search criteria using ajax request using JQuery post function for example and get back the JSON result, and using a template will draw the grid "clean but will take time to finish and will be harder to edit later".
3- ....My question is:What do you think will be the best choice to implement this scenario? because i face this scenario too much, and want to know which implementation will be better regarding performance, optimization, and time to finish.
I am trying to get a clue on how to implement a search page using asp.Net mvc. My search page has several fieds such as drop down list and Date. The end result should be display in a table/GridView. How should I apporch this issue and send the controller the search request paramters and then how should I return the query result to the view??
I did lot of R & D to implement website internal search in asp.net.
I have found a good article in code project
It has some limitations
Search with special characters is not working.
Pdf and word documents are not searching.
Not able to high light the searched text.
If I am implementing this in master page then child title is not displayed in result page. Requirement:
I need to implement search result should be like this [URL] In description the search text must be highlighted.
Note: I need to implement this with coding not any 3rd party tool (I know lots of 3rd party website which do free hosting but they will post there adds and logo). Moreover i dont want to use any database for this internal searching.
Currently I am working on an MVC 2 project and we are trying to implement fulltext search. Originally we were going to take advantage of SQL Server fulltext search capabilities but we are aware that the project will be moving to Azure within 6 months.I understand that SQL Azure does not support fulltext search currently. What are the possible solutions to implement full text search in Azure? The solutions we've come across seem to point to Azure Library for Lucene.Net but I want to make sure we aren't overlooking any better solutions.
I've built an ASP.NET MVC application with MVC 2.0 and Fluent NHibernate (hided behind repositories for some reasons). The application represents a quite complex domain with some different objects like users, messages, comments, files and appointments.
Now I want to implement a fulltext search which is enabling the user to find easily all types of content by simply entering a search phrase. When handling all that types of different objects in the application seperately, I now have to put them "together" for the search. That means the user makes no distinction between the different types, he just enters "xyz" and wants to get results in a list, comments mixed up with messages etc.
Option 1 is to create a search service which fetches the search result from the different repositories and prepares the combined output (sorting, paging etc.). But that's really, really expensive when the data behind grows (and it will grow).
So I am looking for an alternative solution. Currently I am working with SQL Server 2008. What I have found is lucene.net [URL], but I didn't invest much time yet.
Orders OrderProducts - An order can have 1 to many orderProducts records associated with it.
What I am trying to do (unsuccessfully) is to implement a GridView search using a LinqDataSource wherein the search returns Order results where any of the OrderProduct.Manufacturer columns contain a search query. I was hoping the following would work, however it seems lambda expressions do not work within a Where clause of a LinqDataSource (in VB):
Iam working on internal Website search as user can search any thing in the website Now i dont have idea from where i can get start ?? how search will work .it should be whole database search or pages only???
how to implement Search and displaying results on same page using ASP.net webform and simple way to implement paging with Ajax. The top of the page should have the search criteria and once button clicked, it should display the result below with checkbox so that user can select and delete any / all of the search result.
I am Trying to build a Treeview Control using an XMLDataSource which consumes a XML file (which is set dynamically) . The Problem is that the XML file Size is huge, arround .5 MB so the page load is hit because of this . Now i know that there is a PopulateOndemand Property of the treeview and there is also a populateondemand property of Treenodebinding which is used in XMLDataSource .