Error while using Rad Controls

4 posts, 0 answers
  1. Sam
    Sam avatar
    9 posts
    Member since:
    Nov 2008

    Posted 08 May 2013 Link to this post

    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.


  2. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 13 May 2013 Link to this post

    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.
  3. Sam
    Sam avatar
    9 posts
    Member since:
    Nov 2008

    Posted 14 May 2013 Link to this post

    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.
  4. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 17 May 2013 Link to this post

    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.
Back to Top