Actually I have not done anything yet. I know I need this to be client-side. This page needs to be able to display a lot of rows in my repeater and I need fast search capabilities. I definitely cannot postback to the server each time.
I will check out this AJAX. I know a little javascript but I am no expert. I have worked with XML quite a bit. Thanks for the help! --- In [email protected], Ryan Olshan <[EMAIL PROTECTED]> wrote: > > If you are doing what everyone thinks you are doing, it would be more > efficent to use AJAX. > /ryan > > On 10/31/05, Ali Husain <[EMAIL PROTECTED]> wrote: > > > > Bob, > > > > > > > > Just a thought. Wouldn't that be a little inefficient. Anytime the user > > changes the text box it would have to post back to the server to see if > > the new text matches the database. Also everytime you do a postback in > > ASP.NET <http://asp.net/> the whole screen flashes. > > > > > > > > If you still have to do it, this it what I would do: > > > > > > > > 1) Set the AutoPostBack property of the textbox to true > > > > 2) Create a Public Subroutine to do your database query > > > > 3) In the html part of the page set the onclick = "yoursubname()" > > > > > > > > Everytime you type a letter the JS should fire the yoursubname() > > function > > > > > > > > Havent tried the code for this one yet... but it seems like it will > > work..... > > > > > > > > Thanks, > > > > > > > > Ali > > > > > > > > ________________________________ > > > > From: [email protected] > > [mailto:[EMAIL PROTECTED] On Behalf Of David Sapp > > Sent: Monday, October 31, 2005 4:13 PM > > To: [email protected] > > Subject: Re: [AspNetAnyQuestionIsOk] Search repeater using javascript > > > > > > > > Ok, upon second reading of your post I think I understand what you want. > > It seems you want the following (correct me if I'm wrong): there will > > be a textbox at the top of the page outside of the repeater and when the > > user types in a character the repeater will show the records that match > > that character (of course based on whatever repeater field you are using > > to perform the search). Is this right? If yes, then I can look into > > it. > > > > bh0526 <[EMAIL PROTECTED]> wrote:Hi all, > > > > Hopefully someone can help me out here or point me in the right > > direction. I have a web page that contains a repeater. I bind the > > repeater to a data source when the page loads. The user wants to be > > able to start typing in a textbox and have the repeater display the > > results as they are typing. Obviously, this has to be done on the > > client-side. I know there are various keypress events that can be > > captured. But I am pretty weak in javascript. Has anyone done this > > or know of a web site where I can see an example? > > > > Thanks, > > Bob > > > > > > > > > > > > > > > > > > SPONSORED LINKS > > Basic programming language Computer programming languages Programming > > languages Java programming language > > > > --------------------------------- > > YAHOO! GROUPS LINKS > > > > > > Visit your group "AspNetAnyQuestionIsOk" on the web. > > > > To unsubscribe from this group, send an email to: > > [EMAIL PROTECTED] > > > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. > > > > > > > > --------------------------------- > > > > > > > > > > > > --------------------------------- > > Yahoo! FareChase - Search multiple travel sites in one click. > > > > [Non-text portions of this message have been removed] > > > > > > > > > > ________________________________ > > > > YAHOO! GROUPS LINKS > > > > > > > > * Visit your group "AspNetAnyQuestionIsOk > > <http://groups.yahoo.com/group/AspNetAnyQuestionIsOk> " on the web. > > > > * To unsubscribe from this group, send an email to: > > [EMAIL PROTECTED] > > <mailto:[EMAIL PROTECTED] subject=Unsubs > > cribe> > > > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of > > Service <http://docs.yahoo.com/info/terms/> . > > > > > > > > ________________________________ > > > > > > > > [Non-text portions of this message have been removed] > > > > > > > > SPONSORED LINKS > > Basic programming language<http://groups.yahoo.com/gads? t=ms&k=Basic+programming+language&w1=Basic+programming+language&w2=Co mputer+programming+languages&w3=Programming+languages&w4=Java+program ming+language&c=4&s=126&.sig=bnac3LCZpttb3c9FvbVU-A> Computer > > programming languages<http://groups.yahoo.com/gads? t=ms&k=Computer+programming+languages&w1=Basic+programming+language&w 2=Computer+programming+languages&w3=Programming+languages&w4=Java+pro gramming+language&c=4&s=126&.sig=1Czd2hKCO9_u4KVZQperFQ> Programming > > languages<http://groups.yahoo.com/gads? t=ms&k=Programming+languages&w1=Basic+programming+language&w2=Compute r+programming+languages&w3=Programming+languages&w4=Java+programming+ language&c=4&s=126&.sig=TyHGCjod4YOKITrSq1xccQ> Java > > programming language<http://groups.yahoo.com/gads? t=ms&k=Java+programming+language&w1=Basic+programming+language&w2=Com puter+programming+languages&w3=Programming+languages&w4=Java+programm ing+language&c=4&s=126&.sig=PZAexF9LyXpKb3HDJSlB1g> > > ------------------------------ > > YAHOO! GROUPS LINKS > > > > > > - Visit your group "AspNetAnyQuestionIsOk<http://groups.yahoo.com/group/AspNetAnyQ uestionIsOk>" > > on the web. > > - To unsubscribe from this group, send an email to: > > AspNetAnyQuestionIsOk- [EMAIL PROTECTED]<AspNetAnyQuestionIsOk- [EMAIL PROTECTED]> > > - Your use of Yahoo! Groups is subject to the Yahoo! Terms of > > Service <http://docs.yahoo.com/info/terms/>. > > > > > > ------------------------------ > > > > > > -- > Thank you, > Ryan Olshan > <asp:Web Programmer, Owner /> > TeraNet Systems > http://www.teranetsystems.com > > --------Internet E-Mail Confidentiality Statement-------- > The content of and attachment(s) to this electronic transmission contains > information from TeraNet Systems and is intended for the use of the person, > firm or entity to which it is directed herein, and may contain information > that is private, confidential, exempt from disclosure under applicable law, > and/or proprietary to TeraNet Systems and is protected by law. If you are > not the intended recipient, or the employee or agent responsible for > delivering this message to the intended recipient, any dissemination, > distribution or copying of this communication is strictly prohibited. If you > have received this message in error, please notify the sender, > [EMAIL PROTECTED], immediately by reply e-mail and delete the original > message and any attachment(s) without reading or saving in any matter. Thank > you for your cooperation. > > > [Non-text portions of this message have been removed] > ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/saFolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
