Telerik TabStrip With AJAX Update Error

6 posts, 0 answers
  1. Raymond
    Raymond avatar
    13 posts
    Member since:
    Sep 2013

    Posted 23 May 2014 Link to this post

    I upgraded my AJAX to the December, 2012 version for .Net 2010, and now my Telerik Tab Strip errors out when I go to a page with it. I am using an AJAX Update Panel.

    Here is the error message and part of my markup. It is a .net 2010 web site on Windows 2008 server and also Windows 2012 server with an older version of AJAX.

    System.NullReferenceException:
    Object reference not set to an instance of an object.
    at Telerik.RadTabStripUtils.RadControl.GetUpdatingUpdatePanel(Control target)
    at Telerik.RadTabStripUtils.RadControl.IsInAjaxUpdatePanel(Control target)
    at Telerik.RadTabStripUtils.RadControl.Page_PreRenderComplete(Object sender,
    EventArgs e)
    at System.EventHandler.Invoke(Object sender, EventArgs e)
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
    Boolean includeStagesAfterAsyncPoint)

    <ajax:ToolkitScriptManager ID="ToolkitScriptManager1112" runat="server">
    </ajax:ToolkitScriptManager><asp:UpdatePanel id="UpdatePanel111" runat="server" UpdateMode="Always">
          <ContentTemplate>
             <div id="divTabStripAdminIncident" runat="server"
                  style="background-color:#FFFFCC; width:100%;"
                  visible="false">
                <radTS:RadTabStrip ID="TabStripAdminIncident" runat="server" AutoPostBack="True"
                   Font-Bold="True" Skin="WebBlue">
                   <Tabs>
                      <radTS:Tab ID="tabAdminEmpInfo" runat="server"
                                 Text="Emp Info"
                                 Value="AdminEmpInfo.aspx" />
                      <radTS:Tab ID="tabAdminMedicalData" runat="server"
                                 Text="Medical Data"
                                 Value="AdminMedicalData.aspx" />
                      <radTS:Tab ID="tabAdminInjuryData" runat="server"
                                 Text="Injury Data"
                                 Value="AdminInjuryData.aspx" />
                      <radTS:Tab ID="tabAdminInjuryDesc" runat="server"
                                 Text="Injury Description"
                                 Value="AdminInjuryDesc.aspx" />
                      <radTS:Tab ID="tabAdminRiskAssessment" runat="server"
                                 Text="Risk Assessment"
                                 Value="AdminRiskAssessment.aspx" />
                      <radTS:Tab ID="tabAdminDaysOffRestricted" runat="server"
                                 Text="Days Off/Restr."
                                 Value="AdminDaysOffRestricted.aspx" />
                      <radTS:Tab ID="tabAdminRootCF" runat="server"
                                 Text="Root CF"
                                 Value="AdminRootCF.aspx" />
                      <radTS:Tab ID="tabAdminContribCF" runat="server"
                                 Text="Contrib CF"
                                 Value="AdminContribCF.aspx" />
                      <radTS:Tab ID="tabAdminCorrectiveAction" runat="server"
                                 Text="Corrective Actions"
                                 Value="AdminCorrectiveAction.aspx" />
                      <radTS:Tab ID="AdminCorrectiveActionContractor" runat="server"
                                 Text="Contractor Corrective Actions"
                                 Value="AdminCorrectiveActionContractor.aspx" />
                      <radTS:Tab ID="tabAdminRiskAssessmentPotential" runat="server"
                                 Text="Risk Assessment Potential"
                                 Value="AdminRiskAssessmentPotential.aspx" />
                      <radTS:Tab ID="tabAdminApproval" runat="server"
                                 Text="Approvals"
                                 Value="AdminApproval.aspx" />
                      <radTS:Tab ID="tabAdminIncidentEMail" runat="server"
                                 Text="EMail Incident Report" Visible="false"
                                 Value="AdminIncidentEMail.aspx" />
                      <radTS:Tab ID="tabAdminSubmit" runat="server"
                                 Text="Submit" Visible="false"
                                 Value="AdminSubmit.aspx" />
                   </Tabs>
                </radts:RadTabStrip>
             </div>
    ...
  2. Eyup
    Admin
    Eyup avatar
    3015 posts

    Posted 28 May 2014 Link to this post

    Hello Raymond,

    You can try the solution suggested in the following thread:
    http://www.telerik.com/forums/telerik-ui-for-asp-net-ajax-and-ajax-control-toolkit

    Hope this helps.

    Regards,
    Eyup
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Raymond
    Raymond avatar
    13 posts
    Member since:
    Sep 2013

    Posted 28 May 2014 in reply to Eyup Link to this post

    Thanks. I tried that and crossed my fingers, but I am still getting the following error message.



    System.NullReferenceException:
    Object reference not set to an instance of an object.

    at Telerik.RadTabStripUtils.RadControl.IsUpdatePanel(Assembly assembly, Control
    target)

    at Telerik.RadTabStripUtils.RadControl.GetUpdatingUpdatePanel(Control target)

    at Telerik.RadTabStripUtils.RadControl.IsInAjaxUpdatePanel(Control target)

    at Telerik.RadTabStripUtils.RadControl.get_InAjaxUpdatePanel()

    at Telerik.RadTabStripUtils.RadControl.Page_PreRenderComplete(Object sender,
    EventArgs e)

    at System.EventHandler.Invoke(Object sender, EventArgs e)

    at System.Web.UI.Page.OnPreRenderComplete(EventArgs e)

    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
    Boolean includeStagesAfterAsyncPoint)

  5. Kostadin
    Admin
    Kostadin avatar
    1713 posts

    Posted 02 Jun 2014 Link to this post

    Hi Raymond,

    I just tried the provided sample with the latest version of Telerik UI for ASP.NET AJAX (SP1 2014 Q1) and the latest version of AjaxToolkit (4,1,7,1213) and it is working properly. Could you please let me know which version you are using at your end?

    Regards,
    Kostadin
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  6. Raymond
    Raymond avatar
    13 posts
    Member since:
    Sep 2013

    Posted 02 Jun 2014 in reply to Kostadin Link to this post

    I have a pretty old version. The RadTabStrip.Net2.dll file is version 3.4.1.0 I know that I need to get my I.T. department to purchase the latest version.
  7. Kostadin
    Admin
    Kostadin avatar
    1713 posts

    Posted 05 Jun 2014 Link to this post

    Hello Raymond,

    The version which you are using is pretty old and it is no longer supported. I would recommend you to upgrade to our latest release which works correctly with AjaxToolkit.

    Regards,
    Kostadin
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017