You must Sign In to post a response.
  • Category: .NET

    Set TargetControlID of dynamically AutoCompleteExtender in js

    Hi,
    I want to set TargetControlID of a AutoCompleteExtender control using js/jquery dynamically.
    How can i do this ?

    Thanks
    Anil
  • #767141
    Hi,

    You may follow below sample to achieve this

    AutoCompleteExtender obj = new AutoCompleteExtender();
    obj.ID = "AutoCompleteExtender1";
    obj.TargetControlID = "your target id";


    Hope this will helpful to you...

    --------------------------------------------------------------------------------
    Give respect to your work, Instead of trying to impress your boss.

    N@veen
    Blog : http://naveens-dotnet.blogspot.in/

  • #767143
    Hi Naveen,

    I have already placed a AutoCompleteExtender in my aspx file. I just want to change it TargetControlID at run time from js.
    I don't want to create another AutoCompleteExtender obj.

    Thanks
    Anil

    anil jain,
    Software Developer,
    NEITL,Mumbai.


Sign In to post your comments