I want to make google like intelligence searching system for searching data from list in my project. i mean when i write something in google bar for searching it automatically start showing some related words in down side. how can i achieve that search in my project? should i use some API ?
With ASP.NET AJAX, you can use AutoComplete control which would give you that functionality 'as is' without writing any extra code.
You can use Jquery too
Related
I wish to use the results of the Google translation that results from right clicking on a web page in Chrome, as opposed to using the API. These results I will use as part of a web language learning tool. I have read this page: https://cloud.google.com/translate/attribution about adding a logo, and have also read the HTML markup requirements at https://cloud.google.com/translate/markup.
My question is as these terms and conditions pages are referring to the API, do they also apply to using the translation results of using the Chrome menu item? I could use the API but this is much simpler for my temporary need.
Yes, when you're using the Google Translate Tool in a page by using the right-click, you can see that it send a request to the Google Translate API.
In definition, you have to add Google Attribution.
I guess for a personal website or non-commercial use it might not be that big of an issue but still, it will avoid future ones.
I need to present Word and PDF documents in a read-only preview, via an ASPX/HTML page to my internal users. In a related requirement, I need to present editable Word documents, via ab ASPX/HTML page, to parties outside of our network - effectively the public.
We cannot rely upon Word or Adobe-type PDF plugins being available on the destination PC.
Can anyone suggest a way to do this?
Edit - For clarity, the document/data would ideally stay on our own servers.
What about using Google Docs API? You could use either their word-like doc or a form to get the data you need, and then present that internally.
Not sure if this meets all of your requirements, or is an available option.
For our company, we have a few tools that utilize Google Docs. We upload data dynamically to them for specific needs.
Based on your requirements, maybe it's best to just write your own. I haven't created a Rich Text Editor. But it looks like there are quite a few tutorials online. Here is a basic tutorial for a rich text editor. It's using javascript, HTML, & CSS. If you prefer to not use js, then you may need to look for other tutorials.
This isn't the most glamorous solution, as it looks like the users view would be HTML. I'd think you could have it updating dynamically off to the side with an actual rich text view (similar to how Stack Overflow has theirs below an answer or question being written).
Update
Over the weekend I was exploring HTML5's contenteditable attribute, I came across an editor that builds off of that called Aloha Editor. It's a WYSIWYG type editor. But if that's something that you desire for your clients, than this would probably be a pretty simple integration. I have yet to use it, but it seems like it would be a great fit - if you decide to go the route of building your own editor.
You could use the Zoho API or, if you need to keep all data on your own servers and validated clients at all times, you could try the Aspose components.
If you're interested to provide documents in a view-only way then you can try GroupDocs as well: http://groupdocs.com/. They offer viewers for different file types which you can add to your website very easily: http://groupdocs.com/apps/viewer.
Since you need to keep data on your own server, aceoffix can be one of your alternative. It is a plugin installed on your own server and save all data on your server too.
I'm working on have a property listing asp.NET website and the current search function is pretty crappy. I want to know if I can use the Google Custom Search API to extract the results but still present them in the same way there are now (comprehensive listing items with pricing, images, etc. Here's the current look: http://temporadaplus.com/Aluguel-Por-Temporada.aspx?pais=Brasil ). Each listing item is created via a .NET itemtype. SO basically all I need is to know how to go about using Google's much better results without altering anything visually.
I came across this question here but I am not sure its exactly what I;m looking for. Any ideas or comments are appreciated.
At every question posting on websites like ASP.NET and Stack Overflow there's an option to select tags for questions. These tags are from a database, I need exactly the same solution fir my website. Can anyone suggest some an example?
I am using ASP.NET with a SQL Server database.
This may be the thing you wanted and then you can use jqueryUI autocomplete to achieve the autocomplete behavior as suggested by Kevin B
for storing tags in database definitely you have to manage it in database based on TAG -User relationship
While the server-side code is PHP, this tutorial shows you how you can build your own jQuery powered tag cloud that gets its data from the server (either the database or some other source).
the best solution present on internet ,exactly I wanted
https://github.com/harindaka/ASPTokenInput
Its uses the jqueryui API but it modifies it to fit perfectly to be able to adjust with C# code , to get the text on fly it process a url of an aspx page like a web service and retrieves the results from db on every key down event . you can code every thing you want in suggestion their ItemList.aspx.cs code and there you go , perfect harmony of C# code with power of Jquery
I did lot of R & D to implement website internal search in asp.net.
I have found a good article in code project
http://www.codeproject.com/KB/applications/SearchDotnet.aspx
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 http://www.google.com/search?q=internal+search+in+asp.net&sourceid=ie7&rls=com.microsoft:en-US&ie=utf8&oe=utf8
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
Please suggested and provide me some good links.
You could look at using Lucene.Net (http://lucene.apache.org/lucene.net/) to index your site. This is a tool but it is open source and requires you to do some of the work so I'm not sure if this meets your criteria or not.
For an example of how it works you can try searching on their site:)
Given your requirements there aren't too many options.
The only one I can think of is using Microsoft Indexing Service. Here is an example for using that to search a website in .net
https://web.archive.org/web/20211020134956/https://www.4guysfromrolla.com/articles/033005-1.aspx
If you have content in a database you could use Microsoft Full Text Indexing to create a search table and go from there.