Dear All
I would like add a timer control to loop the different user control periodicity. I follow the Telerik Ajax Sample successful do that. In my user control, I have some Jquery/Javascripts would like to run.
I try to add function pageLoad() in my user control, but still can't run. How can I do that? Thanks
default.aspx.vb
uc1.ascx
I would like add a timer control to loop the different user control periodicity. I follow the Telerik Ajax Sample successful do that. In my user control, I have some Jquery/Javascripts would like to run.
I try to add function pageLoad() in my user control, but still can't run. How can I do that? Thanks
default.aspx.vb
Protected Sub Timer1_Tick(sender As Object, e As System.EventArgs) Handles Timer1.Tick If LatestLoadedControlName = "uc1.ascx" Then Me.Timer1.Interval = 15000 LoadUserControl("uc2.ascx") Else LoadUserControl("uc1.ascx") End IfEnd Subuc1.ascx
<script type="text/javascript"> function pageLoad() { alert("test"); }</script>