Home All Groups Group Topic Archive Search About
Author
3 Feb 2009 1:32 AM
Morris Neuman
Hi,

Currently in a dropdownlist, the input by the user is taken as the first
digit entry for the selection.  i.e. if the user enters 5 the dropdownlist
selection list will first display entries starting with 5, then if the user
enters 7 the dropdownlist selection list will display entries starting with 7.

Using the above scenario, how can I get the dropdownlist selection to
display entries starting with 57?

Are there any examples or walkthroughs that you can reference for me?
--
Thanks
Morris

Author
3 Feb 2009 3:17 AM
Nathan Sokalski
I am assuming based on your question that your DropDownList contains the
values 0,1,2,3,4,5,6,7,8, and 9. If you want to do this without any buttons,
you will need to have a variable that gets appended to on the JavaScript
onchange event. If you want to use a button, use the JavaScript onclick
event of the button. If it is help in displaying the correct entries, you
will need to give a little more information. Good Luck!
--
Nathan Sokalski
njsokal***@hotmail.com
http://www.nathansokalski.com/

Show quoteHide quote
"Morris Neuman" <Morris@online.nospam> wrote in message
news:37657D95-097E-41FD-BF39-99A6541E0296@microsoft.com...
> Hi,
>
> Currently in a dropdownlist, the input by the user is taken as the first
> digit entry for the selection.  i.e. if the user enters 5 the dropdownlist
> selection list will first display entries starting with 5, then if the
> user
> enters 7 the dropdownlist selection list will display entries starting
> with 7.
>
> Using the above scenario, how can I get the dropdownlist selection to
> display entries starting with 57?
>
> Are there any examples or walkthroughs that you can reference for me?
> --
> Thanks
> Morris
Are all your drivers up to date? click for free checkup

Author
3 Feb 2009 3:28 AM
Morris Neuman
I am not working with Java.  Maybe someone else has a answer with a bit more
details.
--
Thanks
Morris


Show quoteHide quote
"Nathan Sokalski" wrote:

> I am assuming based on your question that your DropDownList contains the
> values 0,1,2,3,4,5,6,7,8, and 9. If you want to do this without any buttons,
> you will need to have a variable that gets appended to on the JavaScript
> onchange event. If you want to use a button, use the JavaScript onclick
> event of the button. If it is help in displaying the correct entries, you
> will need to give a little more information. Good Luck!
> --
> Nathan Sokalski
> njsokal***@hotmail.com
> http://www.nathansokalski.com/
>
> "Morris Neuman" <Morris@online.nospam> wrote in message
> news:37657D95-097E-41FD-BF39-99A6541E0296@microsoft.com...
> > Hi,
> >
> > Currently in a dropdownlist, the input by the user is taken as the first
> > digit entry for the selection.  i.e. if the user enters 5 the dropdownlist
> > selection list will first display entries starting with 5, then if the
> > user
> > enters 7 the dropdownlist selection list will display entries starting
> > with 7.
> >
> > Using the above scenario, how can I get the dropdownlist selection to
> > display entries starting with 57?
> >
> > Are there any examples or walkthroughs that you can reference for me?
> > --
> > Thanks
> > Morris
>
>
>
Author
3 Feb 2009 9:45 AM
Steven Cheng
Hi Morris,

I think the things Nathan mentioned is use javascript(not java) to
implement a client script based component. Based on your requirement, it is
somewhat like an auto-complete dropdownlist. However, since a standard
dropdownlist (<select> html element) cannot remember the previous letters
you type, you may consider adding a textbox to hold the entire characters
user has typed. 

ASP.NET ajax control toolkit contains a built-in auto-complete control, you
can have a look:

#AutoComplete Demonstration
http://www.asp.net/AJAX/AjaxControlToolkit/Samples/AutoComplete/AutoComplete
.aspx

And there are some other articles discussing on implement a custom
auto-complete control via client-script:


#An ASP.NET 2.0 AutoComplete DropDownList...
http://www.dotnetjohn.com/articles.aspx?articleid=215

#Autocomplete using jQuery, MVC, and JSon
http://farazt.blogspot.com/2008/10/autocomplete-using-jquery-mvc-and-json.ht
ml

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msd***@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 2 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support Engineer
by contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
Show quoteHide quote
>From: =?Utf-8?B?TW9ycmlzIE5ldW1hbg==?= <Morris@online.nospam>
>Subject: Re: DropDownList Input
>Date: Mon, 2 Feb 2009 19:28:01 -0800

>
>I am not working with Java.  Maybe someone else has a answer with a bit
more
>details.
>--
>Thanks
>Morris
>
>
>"Nathan Sokalski" wrote:
>
>> I am assuming based on your question that your DropDownList contains the
>> values 0,1,2,3,4,5,6,7,8, and 9. If you want to do this without any
buttons,
>> you will need to have a variable that gets appended to on the JavaScript
>> onchange event. If you want to use a button, use the JavaScript onclick
>> event of the button. If it is help in displaying the correct entries,
you
>> will need to give a little more information. Good Luck!
>> --
>> Nathan Sokalski
>> njsokal***@hotmail.com
>> http://www.nathansokalski.com/
>>
>> "Morris Neuman" <Morris@online.nospam> wrote in message
>> news:37657D95-097E-41FD-BF39-99A6541E0296@microsoft.com...
>> > Hi,
>> >
>> > Currently in a dropdownlist, the input by the user is taken as the
first
>> > digit entry for the selection.  i.e. if the user enters 5 the
dropdownlist
>>
Author
4 Feb 2009 2:30 AM
Nathan Sokalski
As Steven pointed out, it is not possible to do what you want without using
JavaScript in some way (whether it be simple basic code you write yourself
or AJAX). Also, as Steven suggested, you need to decide whether you want to
accomplish your goal using an extra TextBox or JavaScript that remembers
what value(s) were previously selected. I think you need to be clear about
exactly what you want your user interface to look like. Good Luck!
--
Nathan Sokalski
njsokal***@hotmail.com
http://www.nathansokalski.com/

""Steven Cheng"" <stch***@online.microsoft.com> wrote in message
Show quoteHide quote
news:6AXh4QehJHA.820@TK2MSFTNGHUB02.phx.gbl...
> Hi Morris,
>
> I think the things Nathan mentioned is use javascript(not java) to
> implement a client script based component. Based on your requirement, it
> is
> somewhat like an auto-complete dropdownlist. However, since a standard
> dropdownlist (<select> html element) cannot remember the previous letters
> you type, you may consider adding a textbox to hold the entire characters
> user has typed.
>
> ASP.NET ajax control toolkit contains a built-in auto-complete control,
> you
> can have a look:
>
> #AutoComplete Demonstration
> http://www.asp.net/AJAX/AjaxControlToolkit/Samples/AutoComplete/AutoComplete
> aspx
>
> And there are some other articles discussing on implement a custom
> auto-complete control via client-script:
>
>
> #An ASP.NET 2.0 AutoComplete DropDownList...
> http://www.dotnetjohn.com/articles.aspx?articleid=215
>
> #Autocomplete using jQuery, MVC, and JSon
> http://farazt.blogspot.com/2008/10/autocomplete-using-jquery-mvc-and-json.ht
> ml
>
> Sincerely,
>
> Steven Cheng
>
> Microsoft MSDN Online Support Lead
>
>
> Delighting our customers is our #1 priority. We welcome your comments and
> suggestions about how we can improve the support we provide to you. Please
> feel free to let my manager know what you think of the level of service
> provided. You can send feedback directly to my manager at:
> msd***@microsoft.com.
>
> ==================================================
> Get notification to my posts through email? Please refer to
> http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.
>
> Note: MSDN Managed Newsgroup support offering is for non-urgent issues
> where an initial response from the community or a Microsoft Support
> Engineer within 2 business day is acceptable. Please note that each follow
> up response may take approximately 2 business days as the support
> professional working with you may need further investigation to reach the
> most efficient resolution. The offering is not appropriate for situations
> that require urgent, real-time or phone-based interactions. Issues of this
> nature are best handled working with a dedicated Microsoft Support
> Engineer
> by contacting Microsoft Customer Support Services (CSS) at
> http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
> ==================================================
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
> --------------------
>>From: =?Utf-8?B?TW9ycmlzIE5ldW1hbg==?= <Morris@online.nospam>
>>Subject: Re: DropDownList Input
>>Date: Mon, 2 Feb 2009 19:28:01 -0800
>
>>
>>I am not working with Java.  Maybe someone else has a answer with a bit
> more
>>details.
>>--
>>Thanks
>>Morris
>>
>>
>>"Nathan Sokalski" wrote:
>>
>>> I am assuming based on your question that your DropDownList contains the
>>> values 0,1,2,3,4,5,6,7,8, and 9. If you want to do this without any
> buttons,
>>> you will need to have a variable that gets appended to on the JavaScript
>>> onchange event. If you want to use a button, use the JavaScript onclick
>>> event of the button. If it is help in displaying the correct entries,
> you
>>> will need to give a little more information. Good Luck!
>>> --
>>> Nathan Sokalski
>>> njsokal***@hotmail.com
>>> http://www.nathansokalski.com/
>>>
>>> "Morris Neuman" <Morris@online.nospam> wrote in message
>>> news:37657D95-097E-41FD-BF39-99A6541E0296@microsoft.com...
>>> > Hi,
>>> >
>>> > Currently in a dropdownlist, the input by the user is taken as the
> first
>>> > digit entry for the selection.  i.e. if the user enters 5 the
> dropdownlist
>>>
>
Author
4 Feb 2009 4:14 AM
Morris Neuman
Thanks for the info.  I am a novice and just learning the basics.

I am trying to implement the solution per
http://www.dotnetjohn.com/articles.aspx?articleid=132

From what I can understand from the article is that I need to create a vb
project with a Class file named KeySortDropDownList.vb.  I downloaded the
project code to do that.

I am trying to add the custom control to my web page as outlined but don't
see how to add the dll to the tool box.  When I right click on the tool box I
don't see any option to 'Add/Remove Items'.

"Create a webform, or use the default WebForm1.aspx. In design mode open the
tool box and right click. Select the 'Add/Remove Items' option. In the
resulting dialog box browse to the KeySortDropDownList.dll, press Select and
then OK. The control will then be added to the toolbox. Drag the control onto
your .aspx file. "

What am I doing wrong?
--
Thanks for your help.
Morris


Show quoteHide quote
"Nathan Sokalski" wrote:

> As Steven pointed out, it is not possible to do what you want without using
> JavaScript in some way (whether it be simple basic code you write yourself
> or AJAX). Also, as Steven suggested, you need to decide whether you want to
> accomplish your goal using an extra TextBox or JavaScript that remembers
> what value(s) were previously selected. I think you need to be clear about
> exactly what you want your user interface to look like. Good Luck!
> --
> Nathan Sokalski
> njsokal***@hotmail.com
> http://www.nathansokalski.com/
>
> ""Steven Cheng"" <stch***@online.microsoft.com> wrote in message
> news:6AXh4QehJHA.820@TK2MSFTNGHUB02.phx.gbl...
> > Hi Morris,
> >
> > I think the things Nathan mentioned is use javascript(not java) to
> > implement a client script based component. Based on your requirement, it
> > is
> > somewhat like an auto-complete dropdownlist. However, since a standard
> > dropdownlist (<select> html element) cannot remember the previous letters
> > you type, you may consider adding a textbox to hold the entire characters
> > user has typed.
> >
> > ASP.NET ajax control toolkit contains a built-in auto-complete control,
> > you
> > can have a look:
> >
> > #AutoComplete Demonstration
> > http://www.asp.net/AJAX/AjaxControlToolkit/Samples/AutoComplete/AutoComplete
> > aspx
> >
> > And there are some other articles discussing on implement a custom
> > auto-complete control via client-script:
> >
> >
> > #An ASP.NET 2.0 AutoComplete DropDownList...
> > http://www.dotnetjohn.com/articles.aspx?articleid=215
> >
> > #Autocomplete using jQuery, MVC, and JSon
> > http://farazt.blogspot.com/2008/10/autocomplete-using-jquery-mvc-and-json.ht
> > ml
> >
> > Sincerely,
> >
> > Steven Cheng
> >
> > Microsoft MSDN Online Support Lead
> >
> >
> > Delighting our customers is our #1 priority. We welcome your comments and
> > suggestions about how we can improve the support we provide to you. Please
> > feel free to let my manager know what you think of the level of service
> > provided. You can send feedback directly to my manager at:
> > msd***@microsoft.com.
> >
> > ==================================================
> > Get notification to my posts through email? Please refer to
> > http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.
> >
> > Note: MSDN Managed Newsgroup support offering is for non-urgent issues
> > where an initial response from the community or a Microsoft Support
> > Engineer within 2 business day is acceptable. Please note that each follow
> > up response may take approximately 2 business days as the support
> > professional working with you may need further investigation to reach the
> > most efficient resolution. The offering is not appropriate for situations
> > that require urgent, real-time or phone-based interactions. Issues of this
> > nature are best handled working with a dedicated Microsoft Support
> > Engineer
> > by contacting Microsoft Customer Support Services (CSS) at
> > http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
> > ==================================================
> > This posting is provided "AS IS" with no warranties, and confers no
> > rights.
> >
> > --------------------
> >>From: =?Utf-8?B?TW9ycmlzIE5ldW1hbg==?= <Morris@online.nospam>
> >>Subject: Re: DropDownList Input
> >>Date: Mon, 2 Feb 2009 19:28:01 -0800
> >
> >>
> >>I am not working with Java.  Maybe someone else has a answer with a bit
> > more
> >>details.
> >>--
> >>Thanks
> >>Morris
> >>
> >>
> >>"Nathan Sokalski" wrote:
> >>
> >>> I am assuming based on your question that your DropDownList contains the
> >>> values 0,1,2,3,4,5,6,7,8, and 9. If you want to do this without any
> > buttons,
> >>> you will need to have a variable that gets appended to on the JavaScript
> >>> onchange event. If you want to use a button, use the JavaScript onclick
> >>> event of the button. If it is help in displaying the correct entries,
> > you
> >>> will need to give a little more information. Good Luck!
> >>> --
> >>> Nathan Sokalski
> >>> njsokal***@hotmail.com
> >>> http://www.nathansokalski.com/
> >>>
> >>> "Morris Neuman" <Morris@online.nospam> wrote in message
> >>> news:37657D95-097E-41FD-BF39-99A6541E0296@microsoft.com...
> >>> > Hi,
> >>> >
> >>> > Currently in a dropdownlist, the input by the user is taken as the
> > first
> >>> > digit entry for the selection.  i.e. if the user enters 5 the
> > dropdownlist
> >>>
> >
>
>
>
Author
5 Feb 2009 3:07 AM
Steven Cheng
Hi Morris,

As for the "adding custom control in the toolbox", you can use the
following steps:

** open an ASP.NET web project

** open "Toolbox" and right click on the toolbox(blank area)

** In the context menu, choose "Choose Items..." item

** In the popup dialog, use "Browse..." button to find the assembly of your
custom web control. After you select your assembly, in the ListView above,
you can find the certain control class and check the option before it.

** click OK and the control should appear on the toolbox.

#How to add custom control in Visual Studio Toolbox.
http://dhavalupadhyaya.wordpress.com/2008/07/20/how-to-add-custom-control-in
-visual-studio-toolbox/


Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msd***@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.








--------------------
Show quoteHide quote
>From: =?Utf-8?B?TW9ycmlzIE5ldW1hbg==?= <Morris@online.nospam>
>Subject: Re: DropDownList Input
>Date: Tue, 3 Feb 2009 20:14:04 -0800

>Thanks for the info.  I am a novice and just learning the basics.
>
>I am trying to implement the solution per
>http://www.dotnetjohn.com/articles.aspx?articleid=132
>
>From what I can understand from the article is that I need to create a vb
>project with a Class file named KeySortDropDownList.vb.  I downloaded the
>project code to do that.
>
>I am trying to add the custom control to my web page as outlined but don't
>see how to add the dll to the tool box.  When I right click on the tool
box I
>don't see any option to 'Add/Remove Items'.
>
>"Create a webform, or use the default WebForm1.aspx. In design mode open
the
>tool box and right click. Select the 'Add/Remove Items' option. In the
>resulting dialog box browse to the KeySortDropDownList.dll, press Select
and
>then OK. The control will then be added to the toolbox. Drag the control
onto
>your .aspx file. "
>
>What am I doing wrong?
>--
>Thanks for your help.
>Morris
>
>
>"Nathan Sokalski" wrote:
>
>>
Author
9 Feb 2009 1:15 PM
Steven Cheng
Hi Morris,

Have you got any progress on this thread? If  there is anything else need
help, please feel free to post here.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msd***@microsoft.com.
--------------------
Show quoteHide quote
>From: stch***@online.microsoft.com ("Steven Cheng")
>Organization: Microsoft
>Date: Thu, 05 Feb 2009 03:07:25 GMT
>Subject: Re: DropDownList Input

>Hi Morris,
>
>As for the "adding custom control in the toolbox", you can use the
>following steps:
>
>** open an ASP.NET web project
>
>** open "Toolbox" and right click on the toolbox(blank area)
>
>** In the context menu, choose "Choose Items..." item
>
>** In the popup dialog, use "Browse..." button to find the assembly of
your
>custom web control. After you select your assembly, in the ListView above,
>you can find the certain control class and check the option before it.
>
>** click OK and the control should appear on the toolbox.
>
>#How to add custom control in Visual Studio Toolbox.
>http://dhavalupadhyaya.wordpress.com/2008/07/20/how-to-add-custom-control-i
n
>-visual-studio-toolbox/
>
>
>Sincerely,
>
>Steven Cheng
>
>Microsoft MSDN Online Support Lead
>
>
>Delighting our customers is our #1 priority. We welcome your comments and
>suggestions about how we can improve the support we provide to you. Please
>feel free to let my manager know what you think of the level of service
>provided. You can send feedback directly to my manager at:
>msd***@microsoft.com.
>
>==================================================
>Get notification to my posts through email? Please refer to
>http:
Author
10 Feb 2009 8:20 PM
Morris Neuman
Sorry for not replying sooner.  Yes I got it to work.
--
Thanks
Morris


""Steven Cheng"" wrote:

Show quoteHide quote
> Hi Morris,
>
> Have you got any progress on this thread? If  there is anything else need
> help, please feel free to post here.
>
> Sincerely,
>
> Steven Cheng
>
> Microsoft MSDN Online Support Lead
>
>
> Delighting our customers is our #1 priority. We welcome your comments and
> suggestions about how we can improve the support we provide to you. Please
> feel free to let my manager know what you think of the level of service
> provided. You can send feedback directly to my manager at:
> msd***@microsoft.com.
> --------------------
> >From: stch***@online.microsoft.com ("Steven Cheng")
> >Organization: Microsoft
> >Date: Thu, 05 Feb 2009 03:07:25 GMT
> >Subject: Re: DropDownList Input
>
> >Hi Morris,
> >
> >As for the "adding custom control in the toolbox", you can use the
> >following steps:
> >
> >** open an ASP.NET web project
> >
> >** open "Toolbox" and right click on the toolbox(blank area)
> >
> >** In the context menu, choose "Choose Items..." item
> >
> >** In the popup dialog, use "Browse..." button to find the assembly of
> your
> >custom web control. After you select your assembly, in the ListView above,
> >you can find the certain control class and check the option before it.
> >
> >** click OK and the control should appear on the toolbox.
> >
> >#How to add custom control in Visual Studio Toolbox.
> >http://dhavalupadhyaya.wordpress.com/2008/07/20/how-to-add-custom-control-i
> n
> >-visual-studio-toolbox/
> >
> >
> >Sincerely,
> >
> >Steven Cheng
> >
> >Microsoft MSDN Online Support Lead
> >
> >
> >Delighting our customers is our #1 priority. We welcome your comments and
> >suggestions about how we can improve the support we provide to you. Please
> >feel free to let my manager know what you think of the level of service
> >provided. You can send feedback directly to my manager at:
> >msd***@microsoft.com.
> >
> >==================================================
> >Get notification to my posts through email? Please refer to
> >http:
>
>
Author
11 Feb 2009 7:55 AM
Steven Cheng
Thanks for your followup Morris,

I'm glad that you've got it working. In case there is any further question,
always feel free to post here.

Have a nice day!

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msd***@microsoft.com.

--------------------

>From: =?Utf-8?B?TW9ycmlzIE5ldW1hbg==?= <Morris@online.nospam>
@TK2MSFTNGHUB02.phx.gbl>
Show quoteHide quote
>Subject: Re: DropDownList Input
>Date: Tue, 10 Feb 2009 12:20:02 -0800

>
>Sorry for not replying sooner.  Yes I got it to work.
>--
>Thanks
>Morris
>
>
>""Steven Cheng"" wrote:
>
>> Hi Morris,
>>
>> Have you got any progress on this thread? If  there is anything else
need
>> help, please feel free to post here.
>>
>> Sincerely,
>>
>> Steven Cheng
>>
>> Microsoft MSDN Online Support Lead
>>
>>
>> Delighting our customers is our #1 priority. We welcome your comments
and
>> suggestions about how we can improve the support we provide to you.
Please
>> feel free to let my manager know what you think of the level of service
>> provided. You can send feedback directly to my manager at:
>> msd***@microsoft.com.
>> --------------------
>>

Bookmark and Share