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

    How to call the asp.net user control in js file

    i have a user control in aps.net i need to call that in js file.
  • #652847
    [Response removed by Admin. Read forum policies.]

  • #652852
    You must check that what is the Run time Id of that control in the

    Page >> View Source.

    Once you have the ID of the control you can call it in any javascript function as below.


    unction name()
    {
    document.getElementById("ControlID").value = 'Anil';
    }

    Thanks & Regards
    Anil Kumar Pandey
    Microsoft MVP, DNS MVM


  • This thread is locked for new responses. Please post your comments and questions as a separate thread.
    If required, refer to the URL of this page in your new post.