Hi everyone,
I meet a question——At my server-side codes, I put a button and a textbox inside the UpdatePanel.
And at the beginning, I wrote the codes like this following in jQuery to assign values:
<head runat="server"><title>Test</title><script src="Scripts/jquery-2.0.0.js"></script><script> $(function () { $('#<%=TextBox1.ClientID%>').val("I'm Bill Gates!"); });</script></head>
It works when first running, but when I click the button inside the update panel, it doesn't work anymore!
After searching for the web, I know to use Sys.WebForms.PageRequestManager:
But my question:
1) Why use this?
2) What's that? Is that devoted for UpdatePanel or anything related to AJAX refreshing(even if I'm not using UpdatePanel but I just customized a page that will submit the data contents asychronizedly……), will it work properly?
Many thanks for good explaination!
Reguards!!!!!!!!!!!!