Looking For Recommendations For A Basic Website Search Control
Mar 8, 2010
I'm looking for recommendations for a basic site search control or example of creating some code to provide a way for users to search a site I am developing. I'd like to keep it quite simple if possible and ideally want something I can use straight away.
I am trying to figure out what are the basic assemblies required to run a basic ASP.NET 4.0 website. Say.. a website with just a label in it. I looked online and didn't find a list there. I know installing the framework 4.0 will give me all the dlls but I just need the basic ones that will make a basic site work on ASP.NET 4.0.
Implemented shopping cart overview with the ability to delete previous added items.Allows connection to Paypal
(I've already found http://stackoverflow.com/questions/1522832/looking-for-a-lightweight-asp-net-shopping-cart-that-is-paypal-compatible but the posted solution "shopping cart .net" does not seem to fulfill the third requirement, If I'm not mistaken.)
I am trying to write a simple search form for our site. Here is my delima... I am trying to figure out that if there is nothing to search for in one textbox then search in the next textbox. The problem is that I dont know how to format my search string: For Example:
I've got the forum setup on my ASP.net website fine, works great!I want to use their membership system as my central user system on my site though.I basically want to be able to tell if a user is logged in or not. IE, best case scenario, on my custom Master page I just have a:
I am trying to implement a search solution for my website and was wondering whether there are other good search solutions I can use apart from adding a Google search box
Now i'm currently trying to code a basic website as a project and i've run into problems regarding a search video function. having searched through the forum i still could not find a solution.What i intend to do is to have a video search web service in my website, perhaps something like this:http://www.google.com/uds/solutions/...rch/index.html. however from my limited understanding the codes provided is unable to work with VS2005? Is there a basic template that i could follow and implement for a video search function for youtubes video?
I'm using this code to create a search bar that will search only on the website above. It works when I put it into a html file, but when I put it in the rightnav user control in the ASP.net application, it only refreshes the page.
I'm looking at server controls for the first time, and I've a question about this code:
[Bindable(true)] [Category("Appearance")] [DefaultValue("")] [Localizable(true)] public string Text { get { String s = (String)ViewState["Text"]; return ((s == null) ? "[" + this.ID + "]" : s); } set { ViewState["Text"] = value; } }
I do not understand why this control returns the [id] or the text that is set. I do not see how this makes any sense. Is this just for demonstration or is there a reason for returning the id?
VWD 2008 Express. Visual Basic.I have a customvalidator on my page and a corresponding OnServerValidate routine tied to this control in my VB code behind. I also have a "Save" button that is defined as "CausesValidation=True." I placed a breakpoint in my OnServerValidate code for the customvalidator and a breakpoint in my OnClick routine for the Save button. What I expect to happen is that when the "Save" button is pressed, all the validation is checked before ever entering the OnClick code for the Save button. If any of the validators are false, then I expect that the Save button OnClick code will not run.
I have a situation where I currently have a HyperLinkColumn control that I would like to modify to have a Label or simple text appear in the same column as the hyperlink.
i'd like to recieve comments on the way i'm trying to build an asp.net web application which uses a WCF service that is hosted in another asp.net application. Both applications will live on the same machine, but the app with the WCF service will not be accessible from the outside. there will be two web servers sharing the load behind a load balancer.
The app pool of both applications will use the same local user account (web server is not part of a domain) and so i was thinking to use WsHttpBinding with windows security for communication between client and internal wcf service.
The fron-end asp.net app uses forms authentication through a custom membership/role provider to athenticate and authorize users. The user database is in a sql server database.
i need to somehow pass to the wcf service the user details (username + roles) so that in the wcf it will be possible to validate and authorize according to the roles of who is logged in the front-end. I read i need to use "support tokens", but i haven't figured out how to use this.
I read also something about claims and WIF, which seems interesting but have no idea how i could use these in my scenario.
is there anyone who can give me recommendations about the architecture and maybe also show me how to pass the username to the wcf service and also show me if possible to use claims based authorization?
Looking for design recommendations in asp.netwhat be better to use for design controls on the screento put controls in table ? or absolute position for the controls ?what is better to use ? What all developers use ?
I'm trying to pass a value (address) from a listview control using visual basic to a google map address control on the page load event. Here is the code I have so far in vb:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load 'Pass address from Listview to Googlemap address GoogleMap1.Address = ??? GoogleMap1.Zoom = "14" GoogleMap1.ShowScaleControl = True GoogleMap1.EnableInfoWindow = True
From the following URL i got some doubts about the Recommendations for using Abstract class vs interfaces
[URL]
1. If you anticipate creating multiple versions of your component, create an abstract class. Abstract classes provide a simple and easy way to version your components. By updating the base class, all inheriting classes are automatically updated with the change. Interfaces, on the other hand, cannot be changed once created. If a new version of an interface is required, you must create a whole new interface. { Is there any example for this t ounderstand throughly ?} If you are designing small, concise bits of functionality, use interfaces. If you are designing large functional units, use an abstract class. If you want to provide common, implemented functionality among all implementations of your component, use an abstract class. Abstract classes allow you to partially implement your class, whereas interfaces contain no implementation for any members. { Is there any example for this t ounderstand throughly?
I look after a number of divisional websites for a uk based membership organisation and what we want to do is provide, as well as other address functions, is a closest member lookup to a web user from the websites themselves.A few use cases that I want to fill:ase 1: The user puts in their post code and wants to see all the members in a 5/10/15/20/30/40 mile radius from themCase 2: The member puts in an area (city, county, etc.) and gets a list of members in that area.Essentially what I'm looking for is a programmable API which I can code against to do:post code lookup and returns addresses (after picking house number for example). search post code + radius (5miles, 10miles etc) and get a set of applicable post codes to then join onto the membership records in the databaseAny recommendations? It can be a quarterly update install on the server, it can be a queryable web service.
i am newer to asp.net and i am trying to make a search engine for my site like this one [URL]. i am able to get the SEO friendly URL like this with the keyword and redirected to the Search.aspx.
Now how can i get result like this, i need some assistance to start. i have used contain attribute in LINQ query and get results. but i want to split the search term and i don't know how and then want to search the each word using contain attribute and then want to get results like this guy. you can reffer me anything tutorial or any componenet which is made for asp.net c#.
i had a situation in which i want to implement a search within my website, to search information of my wbsite only and giving the list of pages which contain the information requested for seach.