473,387 Members | 1,904 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

List Box & Ajax

Does anyone have an example of a listbox being populated with data from
database while user types the search text in a textbox.

I have found examples where a text box is being validated while user types
in the textbox or listbox gets populated using Ajax after user clicks on
submit button, but I can not find an example where user types in a textbox
and list box is populated from the database based on the string user just
typed in the textbox. The only examples I have found of listbox being
populated from a dataset are the ones that require a click on the button or
a link.

I have tried to put the text box and listbox together using Ajax technology,
but have not been able to do it succesfully.
Thank you
Peter.
Feb 22 '06 #1
6 5504

"Peter" <pc*****@nospam.nospam> wrote in message
news:u0*************@TK2MSFTNGP15.phx.gbl...
Does anyone have an example of a listbox being populated with data from
database while user types the search text in a textbox.

I have found examples where a text box is being validated while user types
in the textbox or listbox gets populated using Ajax after user clicks on
submit button, but I can not find an example where user types in a textbox
and list box is populated from the database based on the string user just
typed in the textbox. The only examples I have found of listbox being
populated from a dataset are the ones that require a click on the button
or a link.

I have tried to put the text box and listbox together using Ajax
technology, but have not been able to do it succesfully.
Thank you
Peter.


Sorry!!! I have meant to post this message at ASPNET newsgroup, and now I
don't want to cross post it.

Peter
Feb 22 '06 #2
This link might get you going:
http://www.autosuggestbox.com/Default.aspx


"Peter" <pc*****@nospam.nospam> wrote in message
news:u0*************@TK2MSFTNGP15.phx.gbl...
Does anyone have an example of a listbox being populated with data from
database while user types the search text in a textbox.

I have found examples where a text box is being validated while user types
in the textbox or listbox gets populated using Ajax after user clicks on
submit button, but I can not find an example where user types in a textbox
and list box is populated from the database based on the string user just
typed in the textbox. The only examples I have found of listbox being
populated from a dataset are the ones that require a click on the button
or a link.

I have tried to put the text box and listbox together using Ajax
technology, but have not been able to do it succesfully.
Thank you
Peter.

Feb 22 '06 #3
Hi Peter,

Thanks for posting!

For the current issue, there is a sample from the "Altas":
http://atlas.asp.net/quickstart/atla...x#customextend
ers

You can run it or view source code by yourself. Hope this will be helpful!

Regards,

Yuan Ren [MSFT]
Microsoft Online Support
================================================== ====
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD were
updated on February 14, 2006. Please complete a re-registration process
by entering the secure code mmpng06 when prompted. Once you have
entered the secure code mmpng06, you will be able to update your profile
and access the partner newsgroups.
================================================== ====
When responding to posts, please "Reply to Group" via your newsreader
so that others may learn and benefit from this issue.
================================================== ====
This posting is provided "AS IS" with no warranties, and confers no rights.
================================================== ====

Feb 22 '06 #4
Very nice !

Thank you!

""Yuan Ren[MSFT]"" <v-****@microsoft.com> wrote in message
news:OB*************@TK2MSFTNGXA01.phx.gbl...
Hi Peter,

Thanks for posting!

For the current issue, there is a sample from the "Altas":
http://atlas.asp.net/quickstart/atla...x#customextend
ers

You can run it or view source code by yourself. Hope this will be helpful!

Regards,

Yuan Ren [MSFT]
Microsoft Online Support
================================================== ====
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD were
updated on February 14, 2006. Please complete a re-registration process
by entering the secure code mmpng06 when prompted. Once you have
entered the secure code mmpng06, you will be able to update your profile
and access the partner newsgroups.
================================================== ====
When responding to posts, please "Reply to Group" via your newsreader
so that others may learn and benefit from this issue.
================================================== ====
This posting is provided "AS IS" with no warranties, and confers no
rights.
================================================== ====

Feb 23 '06 #5
Thank You very much!!!

This is a great control.

"Jeff S" <A@B.COM> wrote in message
news:uT*************@TK2MSFTNGP09.phx.gbl...
This link might get you going:
http://www.autosuggestbox.com/Default.aspx


"Peter" <pc*****@nospam.nospam> wrote in message
news:u0*************@TK2MSFTNGP15.phx.gbl...
Does anyone have an example of a listbox being populated with data from
database while user types the search text in a textbox.

I have found examples where a text box is being validated while user
types in the textbox or listbox gets populated using Ajax after user
clicks on submit button, but I can not find an example where user types
in a textbox and list box is populated from the database based on the
string user just typed in the textbox. The only examples I have found of
listbox being populated from a dataset are the ones that require a click
on the button or a link.

I have tried to put the text box and listbox together using Ajax
technology, but have not been able to do it succesfully.
Thank you
Peter.


Feb 23 '06 #6
Hi Peter,

You are welcome:)

Regards,

Yuan Ren [MSFT]
Microsoft Online Support

Feb 23 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
by: javainfo | last post by:
How can i refresh IFRAME and load data through AJAX?
13
by: Sharon | last post by:
Hi all, I was wondering if anyone had experience using ajax with asp.net controls. What i'm looking for, are ways to implement and possible problems. A way to implement could be rendering the...
2
by: =?Utf-8?B?RG90TmV0RGV2?= | last post by:
Hi, We are still using .net 1.1 and I am working on a problem that I thought could be 'probably' done easily through 'AJAX'. I visited the ajax.asp.net site and I got an impression that its only...
4
by: KDawg44 | last post by:
Hi, I have a feeling this is a dumb question, but I am exploring AJAX and PHP. I would like to write my PHP in an Object Oriented approach. What is the limitation on what I can return in AJAX? ...
1
by: Slapoo | last post by:
In my ASP 2.0 web app my system.web tag is nested within a location path tag. This structure breaks all AJAX functionality, causing the 'Sys is not defined' error. When I remove the location path...
4
by: DanWeaver | last post by:
I am dumbfounded at the apparent lack of an obvious mechanism that prevents finding a shared host being the absolute nightmare it is: due to the nature of the business (ie techies who know about...
0
by: anoop s | last post by:
Hi, How to display items of completion list of ajax autocompleteextender one at a row. Now it is displaying two or three according to the size of items in a row. thanks
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.