J query

Update Panel with Jquery

For js file add in script manager or proxy manager

<asp:ScriptManagerProxy ID=”ScriptManagerProxy1″ runat=”server”>
<Scripts>
<asp:ScriptReference Path=”~/Scripts/jqueryTooltip.min.js” />
<asp:ScriptReference Path=”~/Scripts/AnchorPosition.js” />
</Scripts>
</asp:ScriptManagerProxy>

Within the page’s code (where the update panel is) add the Scripting code in belowe script

<script type=”text/javascript”>
function ajaxhookup() {
$(document).ready(function () {
//some jquery calls here
});
}
ajaxhookup();
</script>

 

Add the belowe script at bottom of page
<script type=”text/javascript”>
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
function EndRequestHandler(sender, args) {
if (args.get_error() == undefined) {
ajaxhookup();
}
}
</script>

3 thoughts on “Update Panel with Jquery”

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.