How to Create Autocomplete TextBox in Asp.net c# Using Ajax Tool | swift learn

Поделиться
HTML-код
  • Опубликовано: 10 дек 2024

Комментарии • 30

  • @SwiftLearn
    @SwiftLearn  4 месяца назад

    To download Ajax ToolKit dll file drive.google.com/file/d/1RF6je42KWes0C4-6RNdGpfm7BiAzepc9/view?usp=sharing

  • @renanarzola
    @renanarzola Год назад +5

    Hello, excellent tutorial. Can you provide us AjaxControlToolkit dll please?

    • @nyks370
      @nyks370 10 месяцев назад

      are u find a ajaxcontrolkit dll

    • @SwiftLearn
      @SwiftLearn  4 месяца назад

      Sorry for delay. you can download from this link drive.google.com/file/d/1RF6je42KWes0C4-6RNdGpfm7BiAzepc9/view?usp=sharing

    • @SwiftLearn
      @SwiftLearn  4 месяца назад

      drive.google.com/file/d/1RF6je42KWes0C4-6RNdGpfm7BiAzepc9/view?usp=sharing

  • @LeoBranca-y8o
    @LeoBranca-y8o 9 месяцев назад +1

    It works like a charm! Thanks

    • @SwiftLearn
      @SwiftLearn  3 месяца назад

      You are very kind. Thanks for your comment. Please keep connected!

  • @williamsadesola7407
    @williamsadesola7407 5 месяцев назад +1

    Please does it work in Framework="4.7.2"? I have tried but it does not fetch from the DB

    • @SwiftLearn
      @SwiftLearn  4 месяца назад

      Please try and let us know. Thanks bro.

  • @AA-hr1bk
    @AA-hr1bk Год назад

    Really well made tutorial

    • @SwiftLearn
      @SwiftLearn  4 месяца назад

      Thanks for your comment. Please keep connected.

  • @vidhyaarumugam341
    @vidhyaarumugam341 Год назад +1

    Perfectly working

    • @SwiftLearn
      @SwiftLearn  3 месяца назад

      So kind of you. Please keep connected 🙏

  • @theinstamarch2988
    @theinstamarch2988 Год назад +1

    Sir Asp.net c# is good for back end development

  • @raymondtimothyadanu1260
    @raymondtimothyadanu1260 5 месяцев назад

    Hello,
    Pleace, Can I get a VB version of this tutorial.
    I write VB, and I am not getting it well.
    Thank you

    • @raymondtimothyadanu1260
      @raymondtimothyadanu1260 5 месяцев назад +1

      Hello,
      *Please*, Can I get a VB version of this tutorial.
      I write VB, and I am not getting it well.
      Thank you

    • @SwiftLearn
      @SwiftLearn  4 месяца назад

      As soon as possible, I will make such tutorial.

  • @williamsadesola7407
    @williamsadesola7407 5 месяцев назад

    It did not work. it brings up

    • @SwiftLearn
      @SwiftLearn  4 месяца назад

      Do you install ajax control toolkit dll file? In my end it is working well. thanks

  • @kidoo1567
    @kidoo1567 Год назад +1

    Thanks

    • @SwiftLearn
      @SwiftLearn  4 месяца назад +1

      So kinds of you. Please keep connected!

  • @fabser3858
    @fabser3858 7 месяцев назад +1

    Can I get code files

    • @SwiftLearn
      @SwiftLearn  2 месяца назад

      Simple code. Please try. thanks

  • @jessie6581
    @jessie6581 10 месяцев назад +1

    Mine is not working. I followed all your steps.

    • @jessie6581
      @jessie6581 10 месяцев назад

      Below is my code behind
      [ScriptMethod()]
      [WebMethod]
      public static List GetCustomerList(string prefixText)
      {
      List getCustomer = new List();
      using (SqlConnection con = DBCS.GetDbCon())
      {
      SqlCommand cmd = new SqlCommand("SELECT FullName FROM [dbo].[fmCustomer] WHERE FullName LIKE @term + '%'", con);
      cmd.CommandType = System.Data.CommandType.Text;
      con.Open();
      cmd.Parameters.AddWithValue("@term", prefixText);
      using (SqlDataReader r = cmd.ExecuteReader())
      {
      while (r.Read())
      {
      getCustomer.Add(r["FullName"].ToString());
      }
      }
      }
      return getCustomer;
      }
      below is my aspx:









      But the result was my aspx lines that shows like below
      <
      !
      D
      O
      C
      T
      Y
      P
      E
      h
      t
      m
      l
      >
      and so on

    • @SwiftLearn
      @SwiftLearn  4 месяца назад

      Please check once again. If you follow all the process definitely it will work. Check the autocomplete extender & put the service method.

  • @basicode
    @basicode Год назад

    it's not work.

    • @SwiftLearn
      @SwiftLearn  Год назад

      Please check once again. If you follow all the process definitely it will work. Check the autocomplete extender & put the service method.

    • @garystanton297
      @garystanton297 Год назад

      @@SwiftLearn Sys.Application.add_init(function () {
      $create(AjaxControlToolkit.AutoCompleteBehavior, {
      "completionInterval": 100,
      "completionSetCount": 2,
      "minimumPrefixLength": 1,
      "serviceMethod": "GetItemList", // Name of your server-side method
      "servicePath": "" // Path to your web service or set this to "ComplaintsBrowse.aspx"
      }, {}, null, $get("TextBox1"));
      }); Try adding this Javasript code to the client-side and don;t forget the
      tags and the ScriptManager reference