i have a problem with calling ClientScript.RegisterStartupScript(this.Page.GetType(), "OpenReport", popupScript);
in a page that contain a radblock, could you help me please, does ClientScript.RegisterStartupScript has any problem with telerik components
I would suggest using the method RegisterStartupScript of the ScriptManager class in order to register client script from the code-behind. You can find attached a sample page, demonstrating the suggested approach.
If the problem persists after applying the new method, please provide a more detailed description of your scenario so that I am able to help accordingly. Also you could assist us by answering the following questions:
1. By radblock do you mean the RadCodeBlock control?
2. You have marked the problem for the RadDock control. Is there such a control on your page, as you haven't mentioned it in the description?
3. Could you provide more information on the exact problem that occurs when calling ClientScript.RegisterStartupScript?
In case you are still unable to resolve your difficulties please modify the attached page in order to reproduce the problem or if this isn't possible, send us a simple, runnable project that isolates your case so that we can inspect it locally and pinpoint the cause.
Regards,
Slav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now