Hi,
While upgrading telerik controls from Rad Controls for ASP.NET (Q3 2007 release), to Rad Controls ASP.Net Ajax (Q2 2009 release), the existing client side scripts are not executing:
Sample code is:
| System.Text.StringBuilder sb = new System.Text.StringBuilder(); |
| sb.Append("<script language='javascript'>"); |
| sb.Append("scroll(0, 200);"); |
| sb.Append("</script>"); |
| Page.ClientScript.RegisterStartupScript(this.GetType(), "scroll", sb, false); |
While upgrading the telerik controls, the existing script codes are not working!. i also got code from telerik to execute javascript using RadAjaxManager as follows:
| RadAjaxManager.GetCurrent(Page).ResponseScripts.Add("Sys.Application.add_load(function(){scroll(0, 200);})"); |
But that too doesn't helped me out. Please give me a solution for this.
Thanks
