Web Forms :: Displaying Data From Search Engines?
Mar 25, 2010
I have recently adapted a project and I would like some help with the problem. I have a textbox on a webpage. When someone enters a string and submits the page, I want to search search engines such as Google, Yahoo, Bing, etc and display the results according to relevance from the various search engines.
I have currently looked into the httpwebrequest and related classes. Also, I am new to ASP.NET, 17, and want to do this as a school project.
View 4 Replies
Similar Messages:
Feb 10, 2010
I seem to be having an issue with our meta-tags as they are not being picked up by search engines. It has nothing to do with the fact that I don't know how to create them, but I think it has to do with the way we need to set up our site with our hosting company. Our hosting company requires that we have a page called Default.asp with a script that forwards requests to default.aspx which is currently set up as follows:
[Code]....
The Default.aspx page uses a master page. Our meta-tag is currently setup to index the default.asp page, but not to index or follow any other pages on the site. I also have a robot.txt file that states not index or follow any of the pages within the web site. Do I have the meta-tags in the wrong place? Should they be in the Default.aspx page or on the master page instead? If so, how do I format my tags, as if I just copy and paste them, get all sorts of issues.
View 3 Replies
Jan 7, 2011
How can I stop Search engines firing events.....
I have a button that adds a product to my shopping basket. it has a postbackurl="../shoppingbasket.aspx?productID=1" when the page is loaded I get the querystring (ProductID) and add it to my database. Well I have been watching the database and I can see that in 1 day the whole of my product range has been added to the shopping basket, not only that but every time it fires the event it creates a NEW basket thus messing up my shopping basket ID's.
So my question is, I want the search engines to index my product pages, BUT I do not want then to add to my basket ( i.e. firing the postbackurl ) I have tried may things like rel="nofollow" adding the URL to my robot.txt. I don't really want to use recaptha as I have do before and have many complaits about it.
View 10 Replies
May 7, 2010
I have done some refactoring on a asp.net mvc application already deployed to a live web site. Among the refactoring was moving functionality to a new controller, causing some urls to change. Shortly after the various search engine robots start hammering the old urls.What is the right way to handle this in general?
Ignore it? In time the SEs should find out that they get nothing but 400 from the old urls.Block old urls with robots.txt?Continue to catch the old urls, then redirect to new ones? Users navigating the site would never get the redirection as the urls are updated through-out the new version of the site. I see it as garbage code - unless it could be handled by some fancy routing?Other?
View 2 Replies
Feb 20, 2010
Whats the best recommended way yo hide my staging website from search engines, i Googled it and found some says that i should put a metatag, and some said that i should put a text file inside my website directory, i want to know the standard way.
my current website is in asp.net, while i believe that it must be a common way for any website whatever its programming language.
View 7 Replies
Nov 19, 2010
Still new. What can I add to my site to get picked up by serch engines without paying for services? Right now if I do a search My site does not appear.
View 8 Replies
Dec 27, 2010
I am using asp.net 2010, and I would like to know how can I go about completely hiding a particular page from search engines, similar to how Facebook's security settings are set (for example, if I search for my real name, my fb page will now show up in google).
View 3 Replies
Feb 3, 2010
I have a set of controls that enable the user to search one of two fields in a given SQL Server table. The ddlSearch dropdownlist specifies the field to search. The txtSearch textbox contains the search string. I have the following code working fine, except search string isn't being passed to my listview:
[Code]....
I tried adding a DataBind after End Using, but the listview still won't provide the search results. Note that I also have an EntityDataSource on page.
Am I adding this to the wrong event? Should this code be added to PageLoad instead of click event of Submit button? What other issues should I address? Is it possible for ListView to handle the search by itself? That is, do I even need other dropdownlist and textbox controls, or is there functionality builit into the listview control to search? Finally, can I enable a checkbox for each returned item? I will need this so that the user can select items to add to their order.
View 1 Replies
Feb 24, 2010
I would like a gridview (using entitydatasource) to display the search results based on values provided in textbox txtSearch and dropdownlist ddlsearch. My search controls are as follows:
[Code]....
My entitydatasource is:
[Code]....
My gridview is written as:
[Code]....
Codebehind file contains:
[Code]....
I am a newbie at entitydatasource and have a few questions:
1. Currently, the gridview doesn't render. Why is that?
2. How do I wire up the gridview to grab the values of ddlsearch and txtSearch and return results using those values from my entitydatasource?
3. Ultimately, I want to encapsulate this gridview in a wizard step wherein the user checks items they want and those checked items are used in the next wizard step.
View 9 Replies
Jan 21, 2010
I'm working on a job seeking website where the job seeker can search for a job , the search box is located in the master page, that's why i passed the keywords as a query string, and then the matching jobs will be displayed in a listview.
the keywords will be taken from two controls: a drop down list which the user can choose the location of the job, and a text box where he can type a keyword.
the select command of the sqlDataSource of the data list is as the following:
[code]....
View 4 Replies
Dec 23, 2010
Anyone can help providing some code/suggestion on how to implement Search and displaying results on same page using MVC and simple way to implement paging with Ajax.
Below are the search parameters(search Page looks like below) i need to pass to db to get results. We are using MVC2 with entity framework.
Search Criteria- Last Name Course Name Status
View 6 Replies
Nov 4, 2010
I have the following search query
// GET /Home/Results/
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult Result(string searchtext)
{
var search = (from n in _db.NewsItemSet
where n.headline.Contains(searchtext)
orderby n.posted descending
select n);
return View(search);
}
}
The search works and displays a record if a record containing a keyword exists, I am struggling however to implement a feature where when the search is returned it says for example:
0 news items found
N news items match your search criteria: 'string'" displayed
View 6 Replies
Apr 19, 2010
how to Add Search Control for Detailsview for search page... simple solution required.?
and is it possible to give field names to each page numbering?
View 3 Replies
Nov 26, 2010
how to do a search using a Full Text Search Catalog. I would also like to have the results on the page highlighted?
View 1 Replies
Mar 19, 2011
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.
View 4 Replies
Feb 17, 2011
Microsoft has a new website editing tool: WebMatrix. WebMatrix uses the new Web Pages engine in which Razor is the view engine; Razor is also the new view engine for MVC3. I am attempting to find out if it is possible to register and use a different view engine in Web Pages (like you can in MVC).Does anyone know if it is possible to add or replace the view engine in Web Pages? If so has anyone documented this? Examples?
View 2 Replies
Mar 29, 2011
I am in need of applying the skins and themes in asp.net to my asp.net mvc2 applicatoin too. however i need to figure out the best way to apply the theme and skins in the mvc framework.
kindly suggest me the folder structure and how to apply them to different views. even though the css can do all stylings, i would like to get an insight into using these.
View 3 Replies
Dec 2, 2013
I made a usercontrol consisting of an AJAX tab control, a textbox, and a gridview. The gridview is pulling data from a SQL database. When the gridview is outside of the tab control and I begin to enter text into the textbox, quicksearch begins to filter the information in the gridview. When i put the gridview and textbox inside an AJAX tab control quicksearch does not work. How do i need to structure the textbox and the gridview on an ajax update panel to get it to work?
View 1 Replies
May 2, 2010
Working in ASP.NET (VB), I am trying to develop a simple search results page for my website.
The process is as follows:
(1) The site's user enters a search phrase;
(2) The search results page searches the site's database, returns the page title as a link, and a short snippet from each search "hit", with the search phrase highlighted.
I already have the search part done, and also the "highlighted" part done (using Regex). However, I want to be able to return a short snippet of text, which include the search phrase (a few words before the search phrase, a few after). Something like:
Page Title [as a link]
View 2 Replies
Apr 1, 2010
I have created a search page using Visual Web Developer and Access as the database. Instead of displaying the results from the search in Gridview on the same page what would be the coding to pass the results to a new page titled "Search Results".
View 4 Replies
Apr 15, 2010
I can i create a search capability to search profile table?
View 2 Replies
Aug 23, 2010
how to make a search txtbox that includes the search keyword and when the user clicks the search keyword disappears
View 5 Replies
Jul 21, 2010
I have a question, I'm creating a asp.net 4 web-based database.
What I try to do is, getting a search box in the same line as the menu is (see image).
[code]....
View 9 Replies
Nov 3, 2010
I am trying to debug one of the project in which i need to show the data for one of the particular cell in two lines.
This Repeator control Exists in a user control and aspx is calling this User control for displaying the data.
Here is how my code looks:
[Code]....
View 2 Replies
Apr 2, 2010
I have the grid view with boundfield with four columns. I created the text box when gridview row created event. I need to filter the data the gridview using the textbox and need to know the how to generate event for textbox.
[code]....
View 2 Replies