471,319 Members | 1,307 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,319 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 5415

"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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

21 posts views Thread by javainfo | last post: by
13 posts views Thread by Sharon | last post: by
2 posts views Thread by =?Utf-8?B?RG90TmV0RGV2?= | last post: by
4 posts views Thread by KDawg44 | last post: by
4 posts views Thread by DanWeaver | last post: by

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.