Menu

Asp.net updatepanel postback javascript(resolved)

0 Comments

when update panel postback javascript or jquery not working (resolved)

add your script like this 

On head script

<script>

function GetData()
{

alert(test after post back working and on load);
});

</script>

then add in your update panel

<asp:UpdatePanel ID=”UpdatePanel1″ runat=”server” UpdateMode=”Conditional”>
<ContentTemplate>
<script type=”text/javascript”>
Sys.Application.add_load(GetData);
</script>
<div>

<table class=”style1″>

Please do comments if you have any question. share with your friends.

 
Tags: , ,

1 thought on “Asp.net updatepanel postback javascript(resolved)”

Leave a Reply

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