// Find the RadControl client object, if null then exit the function |
sb.Append(String.Format("var co = $find(\"{0}\");", c.ClientID)); |
sb.Append("if (co == null) return;"); |
When I register this code with the Page.ClientScript.RegisterStartupScript method it attempts to execute before the Telerik Control Javascript objects are created resulting in "co" being assigned a null value. How do I register startup Javascript code that executes AFTER the Telerik javascript objects are created.