Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to use Autocomplete TextBox in .net 2.0 without webservice?

How to use Autocomplete TextBox in .net 2.0 without webservice?

Scheduled Pinned Locked Moved ASP.NET
csharptutorialquestion
7 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kandalu
    wrote on last edited by
    #1

    Hi, I am using .net 2.0. I want to use Autocomplete TextBox in my project. Why it is necessary to use webservice in Autocomplete TextBox? Is there any way to use Autocomplete TextBox without webservice? Please refer me some useful sites to learn about webservice. Thanks.

    A A N 3 Replies Last reply
    0
    • K kandalu

      Hi, I am using .net 2.0. I want to use Autocomplete TextBox in my project. Why it is necessary to use webservice in Autocomplete TextBox? Is there any way to use Autocomplete TextBox without webservice? Please refer me some useful sites to learn about webservice. Thanks.

      A Offline
      A Offline
      AhsanS
      wrote on last edited by
      #2

      http://www.codeproject.com/KB/custom-controls/AJAXWasHere-Part3.aspx[^]

      Ahsan Ullah Senior Software Engineer

      K 1 Reply Last reply
      0
      • K kandalu

        Hi, I am using .net 2.0. I want to use Autocomplete TextBox in my project. Why it is necessary to use webservice in Autocomplete TextBox? Is there any way to use Autocomplete TextBox without webservice? Please refer me some useful sites to learn about webservice. Thanks.

        A Offline
        A Offline
        Abhijit Jana
        wrote on last edited by
        #3

        kandalu wrote:

        Why it is necessary to use webservice in Autocomplete TextBox?

        I dont think so it is necessary.

        kandalu wrote:

        Is there any way to use Autocomplete TextBox without webservice?

        Purpose of Web Services is diiferent. we can use it as a layer and use in multiple application . Go thorugh Google to learn use of webservices.

        kandalu wrote:

        Is there any way to use Autocomplete TextBox without webservice?

        Use Simply AJAX

        kandalu wrote:

        Please refer me some useful sites to learn about webservice.

        W3School, CodeProject.com

        cheers, Abhijit

        K 1 Reply Last reply
        0
        • A AhsanS

          http://www.codeproject.com/KB/custom-controls/AJAXWasHere-Part3.aspx[^]

          Ahsan Ullah Senior Software Engineer

          K Offline
          K Offline
          kandalu
          wrote on last edited by
          #4

          Hi, Thanks a lot for your reply. I will go through your codings and implement that. Thanks.

          1 Reply Last reply
          0
          • A Abhijit Jana

            kandalu wrote:

            Why it is necessary to use webservice in Autocomplete TextBox?

            I dont think so it is necessary.

            kandalu wrote:

            Is there any way to use Autocomplete TextBox without webservice?

            Purpose of Web Services is diiferent. we can use it as a layer and use in multiple application . Go thorugh Google to learn use of webservices.

            kandalu wrote:

            Is there any way to use Autocomplete TextBox without webservice?

            Use Simply AJAX

            kandalu wrote:

            Please refer me some useful sites to learn about webservice.

            W3School, CodeProject.com

            cheers, Abhijit

            K Offline
            K Offline
            kandalu
            wrote on last edited by
            #5

            Hi, Thanks for your reply. First I will try without webservice and then I will try with webservice. Thanks for the hint given for webservice. Thanks.

            1 Reply Last reply
            0
            • K kandalu

              Hi, I am using .net 2.0. I want to use Autocomplete TextBox in my project. Why it is necessary to use webservice in Autocomplete TextBox? Is there any way to use Autocomplete TextBox without webservice? Please refer me some useful sites to learn about webservice. Thanks.

              N Offline
              N Offline
              N a v a n e e t h
              wrote on last edited by
              #6

              Webservice is not needed. If you haven't specified the webservice path, AutocompleteTextBox will pick the method from page. See what documentation says ServicePath - The path to the web service that the extender will pull the word\sentence completions from. If this is not provided, the service method should be a page method.

              Navaneeth How to use google | Ask smart questions

              K 1 Reply Last reply
              0
              • N N a v a n e e t h

                Webservice is not needed. If you haven't specified the webservice path, AutocompleteTextBox will pick the method from page. See what documentation says ServicePath - The path to the web service that the extender will pull the word\sentence completions from. If this is not provided, the service method should be a page method.

                Navaneeth How to use google | Ask smart questions

                K Offline
                K Offline
                kandalu
                wrote on last edited by
                #7

                Hi, If I use a Function in .cs file that function is not called. If I use the same method using webservice it works well. The code is given below :

                <ajaxToolkit:AutoCompleteExtender ID="AutoCompleteExtender1" runat="server" MinimumPrefixLength="1"
                ServiceMethod="GetRegC" TargetControlID="TextBox1">

                The "GetRegC" is coded as a function in the default.cs file. I don't know how to specify that function. So, I am using webservice. Thanks.

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups