autocomplete textbox like google

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • nil

    #1

    autocomplete textbox like google

    Hello all,

    It's urgent...

    i want to add autocomplete textbox facility in my application like
    google. as you type it suggests option to the user..i want the same
    kind of facility...i know i can do only with ajax(xml and javascript)
    but i want to fetch possible values from database and want to show as
    the user types in text box.

    i've searched on the net and i found some articles but i don't want to
    use any dll file they provide but i want to use simple code and
    javascript...if anyone has any idea then please provide me code
    snippet or provide some link that do not contains the component
    like .dll file and only simple code..
    the help will be appreciated...

    Thanks & Regards,
    Nil

  • RobinS

    #2
    Re: autocomplete textbox like google

    nil,
    I have seen this message in at least 3 newsgroups.

    microsoft.publi c.dotnet.framew ork.adonet
    microsoft.publi c.dotnet.genera l
    microsoft.publi c.dotnet.langua ges.vb

    If you want to post a message to multiple groups, please cross-post them
    instead of multi-posting them. This means you post it to all three at the
    same time. When you do this, any response in one group is displayed in the
    other groups. That way, if you get an answer, people know they can spend
    their time helping somebody else.

    Thanks,
    Robin S.
    ----------------------------------
    "nil" <NileshThakker7 86@gmail.comwro te in message
    news:1172568887 .178313.203240@ k78g2000cwa.goo glegroups.com.. .
    Hello all,
    >
    It's urgent...
    >
    i want to add autocomplete textbox facility in my application like
    google. as you type it suggests option to the user..i want the same
    kind of facility...i know i can do only with ajax(xml and javascript)
    but i want to fetch possible values from database and want to show as
    the user types in text box.
    >
    i've searched on the net and i found some articles but i don't want to
    use any dll file they provide but i want to use simple code and
    javascript...if anyone has any idea then please provide me code
    snippet or provide some link that do not contains the component
    like .dll file and only simple code..
    the help will be appreciated...
    >
    Thanks & Regards,
    Nil
    >

    Comment

    • aaron.kempf@gmail.com

      #3
      Re: autocomplete textbox like google

      MS Access has this functionality built in.

      it is called a 'combobox'

      Vb6 and VB.net don't support this functionality; sorry






      RobinS wrote:
      nil,
      I have seen this message in at least 3 newsgroups.
      >
      microsoft.publi c.dotnet.framew ork.adonet
      microsoft.publi c.dotnet.genera l
      microsoft.publi c.dotnet.langua ges.vb
      >
      If you want to post a message to multiple groups, please cross-post them
      instead of multi-posting them. This means you post it to all three at the
      same time. When you do this, any response in one group is displayed in the
      other groups. That way, if you get an answer, people know they can spend
      their time helping somebody else.
      >
      Thanks,
      Robin S.
      ----------------------------------
      "nil" <NileshThakker7 86@gmail.comwro te in message
      news:1172568887 .178313.203240@ k78g2000cwa.goo glegroups.com.. .
      Hello all,

      It's urgent...

      i want to add autocomplete textbox facility in my application like
      google. as you type it suggests option to the user..i want the same
      kind of facility...i know i can do only with ajax(xml and javascript)
      but i want to fetch possible values from database and want to show as
      the user types in text box.

      i've searched on the net and i found some articles but i don't want to
      use any dll file they provide but i want to use simple code and
      javascript...if anyone has any idea then please provide me code
      snippet or provide some link that do not contains the component
      like .dll file and only simple code..
      the help will be appreciated...

      Thanks & Regards,
      Nil

      Comment

      • lord.zoltar@gmail.com

        #4
        Re: autocomplete textbox like google

        >
        i want to add autocomplete textbox facility in my application like
        google. as you type it suggests option to the user..i want the same
        kind of facility...i know i can do only with ajax(xml and javascript)
        but i want to fetch possible values from database and want to show as
        the user types in text box.
        >
        i've searched on the net and i found some articles but i don't want to
        use any dll file they provide but i want to use simple code and
        javascript...if anyone has any idea then please provide me code
        snippet or provide some link that do not contains the component
        like .dll file and only simple code..
        the help will be appreciated...
        >
        You say you can only use JavaScript? this is a VB .NET group. You
        might be better off posting in a JavaScript group.
        Even so... This sort of thing is possible in compiled VB .NET
        applications. You get the data that you want from the database, use it
        as the DataSource for the combo box. There's also a property you have
        to set which controls the auto-complete method (there's a few, can't
        recall them all).

        Comment

        • nil

          #5
          Re: autocomplete textbox like google

          On Feb 28, 2:53 am, lord.zol...@gma il.com wrote:
          i want to add autocomplete textbox facility in my application like
          google. as you type it suggests option to the user..i want the same
          kind of facility...i know i can do only with ajax(xml and javascript)
          but i want to fetch possible values from database and want to show as
          the user types in text box.
          >
          i've searched on the net and i found some articles but i don't want to
          use any dll file they provide but i want to use simple code and
          javascript...if anyone has any idea then please provide me code
          snippet or provide some link that do not contains the component
          like .dll file and only simple code..
          the help will be appreciated...
          >
          You say you can only use JavaScript? this is a VB .NET group. You
          might be better off posting in a JavaScript group.
          Even so... This sort of thing is possible in compiled VB .NET
          applications. You get the data that you want from the database, use it
          as the DataSource for the combo box. There's also a property you have
          to set which controls the auto-complete method (there's a few, can't
          recall them all).
          Thanks a lot for prompt reply and i posted here as the problem is
          passing data from db and passing them to javascript array and how to
          do that i don't know that?so please help me if you can

          Comment

          Working...