This is a migrated thread and some comments may be shown as answers.

[Solved] Error while using Rad Controls

3 Answers 169 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sam
Top achievements
Rank 1
Sam asked on 08 May 2013, 03:52 PM
Hi Telerik Team,
         
             Recently we have moved <asp:scriptmanager ......./> to master page of our web application and along with scriptmanager master page contains timer and update panel with asp:timer as below.
<asp:ScriptManager ID="Aspx_ScriptManager" runat="server" />
    <asp:Timer ID="Test" OnTick="Test_Tick" Interval="6000" runat="server" />
                <asp:UpdatePanel runat="server" ID="UpdatePanel" UpdateMode="Conditional">
                     <Triggers>
                        <asp:AsyncPostBackTrigger ControlID="Test"/>
                     </Triggers>
                    <ContentTemplate>
                        <asp:HiddenField ID="Test_Reminder" runat="server" />
                        <asp:HiddenField ID="Test_Reminder_Count" runat="server" />                       
                    </ContentTemplate>
                </asp:UpdatePanel>

 Most of the pages which are using radgrids are working fine.

But in some page it is showing the exception (please refer the attachment).

- I have already try the solution like <telerik:RadCodeBlock... > </telerik:RadCodeBlock> for scripts in my page. But no use.
- Another solution also i have used like move scripts to body from head.(Got while web search)

But i didn't resolved attached exception. Please help me.


3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 13 May 2013, 02:21 PM
Hi,

Did you try to wrap the JavaScript with RadScriptBlock instead of RadCodeBlock? Is there any difference?

Greetings,
Pavlina
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.
0
Sam
Top achievements
Rank 1
answered on 14 May 2013, 06:37 AM
Thanks for the reply Pavlina.

I replace the RadScriptBlock instead of RadCodeBlock. But still i'm getting the error like attached image.

If i move the Script manger from Master Page to all pages in my project wherever i'm using telerik components everything is working fine.

But I need Script manger in master page for reminder popup in my project( i'm getting the error like attached image.). So, please reply me as soon as possible.

Thanks in advance.
0
Pavlina
Telerik team
answered on 17 May 2013, 11:08 AM
Hello Samuel,

I followed your scenario and prepared a sample test project page which is working without errors. Check it out and let me know what is the difference in your case and how I can replicate the error locally in order to assist you further.
 
Kind regards,
Pavlina
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.
Tags
General Discussions
Asked by
Sam
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Sam
Top achievements
Rank 1
Share this question
or