Community discussion forum

textbox suggest

  • 3 months ago

    Hi friends

    First of all I would like to thank people here on developerfusion for helping me whenever I need help. I am hopefull that now also all of you will help me. Today I got a special scenario which I am applying in my application.
    I have 2 text boxes to enter zipcode, In first text box when ever user enters some data and presses tab and on getting focus on the second textbox, the second textbox must show data based on the values entered in the first textbox like what we see in google suggest.
    For example when user enters 5 digit zipcode in 1st textbox & presses tab key the focus will be on 2nd textbox and immediately 2nd textbox must show names of peoples based on the  zipcode entered in 1st textbox, like how we see in google suggest.
    For further clarification please mail me back. Hope some one will help me. Thanks in advance

    Thanks
    wajid

  • Advertisement

    Simply the fastest line-level profiler for .NET ever

    “The low overhead means it has minimal impact on the execution of my program”
    Mark Everest, Development Team Leader, Renault F1 Team Ltd.

    Try out the new ANTS Profiler 4 for yourself. Download your 14-day trial now

  • 3 months ago

    For your second textbox, take a look at using the AutoCompleteExtender in the Ajax Control Toolkit

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

  • 3 months ago

    hi Wajid,

    As far as I can understand your problem, you can use the textchanged event to perform your task. Whenever you press tab you can bind the data on the condition you want to apply.

    Regards,

    Royal

Post a reply

Enter your message below

Sign in or Join us (it's free).