Hi I have an javascript Function in Abc.aspx file
ex :
<script type="text/javascript">
Function ShowChart(){
}
</script>
<pre lang="HTML">
<input id="btnPlay" type="button" runat="server" value="Play" önclick="initialize()"
style="width: 80px; height: 30px;" />
<asp:Button ID="loadCh" runat="server" Text="Load Next Value" Width="120px" />
here the Above Java Script Works Fine When i click button "btnPlay" and chart is displayed
but when i click button "loadCh" a post back occurs and i loses the chart value so i need to display the chart again.
Note button "LoadCh" will retrieve data from Server and populates in text boxes and all.
after post back i want my ShowChart() Java script to be executed!
i have tried this below Code in code behind
'Page.ClientScript.RegisterClientScriptBlock(Me.GetType(), "script", "ShowChart();", True)
'Page.ClientScript.RegisterStartupScript(Me.GetType(), "script", "ShowChart();", True)
but none of the Code Fired the function ShowChart()
Any any one help me with a solution