How to make postback/ajax request to User Control? RRS feed

  • Question

  • User1499943555 posted


    What are the steps to make AJAX call to Usercontrol through DOJO?

    Thursday, October 7, 2010 1:07 PM

All replies

  • User1974023959 posted

    Be it any usercontrol, it will be rendered as simple HTML to your page in which the UC is embedded. 

    so even if you are using a login page where the username and password textboxes is a usercontrol you can use the document.getElementById("txtName").value from the embedded page itself for getting the value of the user name unless the UC is not in a frame.  For frames you will have to use window.frames[0].document.getElementById("txtName").value

    So the Classic AJAX will work the way it is currently and DOJO will work too.  There is no doubt in that..

    Monday, October 11, 2010 4:03 AM