Compatibility Issues

4 posts, 0 answers
  1. Joshua
    Joshua avatar
    1 posts
    Member since:
    Jun 2010

    Posted 01 Jul 2010 Link to this post

    Hello,

        I have recently been having some trouble with the the radControls for ASP.NET.
    They were working fine and everything was ok until I randomly started getting this error on every page in my webapp.

    The base class includes the field 'RadScriptManager1', but its type (Telerik.Web.UI.RadScriptManager) is not compatible with the type of control (Telerik.Web.UI.RadScriptManager).

    i've gone as far as removing rad controls from the GAC, uninstalling and reinstalling them to no avail.


    In the code view, there is no error for the scriptmanager, however the RadDatePicker shows an error that is the following

    "Warning 1 C:\Projects\ProjectName\Secure\OrderHistory.aspx: ASP.NET runtime error: The base class includes the field 'BeginDate', but its type (Telerik.Web.UI.RadDatePicker) is not compatible with the type of control (Telerik.Web.UI.RadDatePicker). C:\Projects\ProjectNameSecure\OrderHistory.aspx 35 1 ProjectName


     

     

     

    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">   
    </telerik:RadScriptManager>   
    <table cellpadding="5" cellspacing="0" border="0" align="center">   
    <tr>   
    <td>   
    Begin Date  
    </td>   
    <td>   
    End Date  
    </td>   
    <td colspan="2">  
    &nbsp;  
    </td>   
    </tr>   
    <tr>   
    <td>   
    <telerik:RadDatePicker ID="BeginDate" Runat="server"   
     Culture="English (United States)" Skin="Office2007">   
    <Calendar UseRowHeadersAsSelectors="False" UseColumnHeadersAsSelectors="False" ViewSelectorText="x" skin="Office2007"></Calendar>   
     <DatePopupButton ImageUrl="" HoverImageUrl=""></DatePopupButton>   
     <DateInput DisplayDateFormat="M/d/yyyy" DateFormat="M/d/yyyy"></DateInput>   
    </telerik:RadDatePicker>   
    </td>   
    <td>   
    <telerik:RadDatePicker ID="EndDate" Runat="server" Skin="Office2007">   
    <Calendar UseRowHeadersAsSelectors="False" UseColumnHeadersAsSelectors="False" ViewSelectorText="x" skin="Office2007"></Calendar>   
    <DatePopupButton ImageUrl="" HoverImageUrl=""></DatePopupButton>   
    <DateInput DisplayDateFormat="M/d/yyyy" DateFormat="M/d/yyyy"></DateInput>   
    </telerik:RadDatePicker>   
    </td>   
    <td>   
    <asp:Button ID="btnGo" runat="server" Text="Go!" onclick="btnGo_Click" />   
    </td>   
    <td>   
    <asp:LinkButton ID="lnkShowAll" runat="server" onclick="lnkShowAll_Click">Show All</asp:LinkButton>   
    </td>   
    </tr>   
    </table> 
     
     

    Whats even more interesting is the fact that the production test of this website (which is online on our server) works with no problems.
    I haven't changed anything with the references or done anything to the controls on the page. This project is under source control and even after I had gotten the restore for it, the problem persists.

    Any insight would be greatly appreciated, thanks!

    Joshua Smith

     

     

     

     

  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 06 Jul 2010 Link to this post

    Hi Joshua,

    This error happens when the Telerik.Web.UI assembly built against .NET 3.5 is used in a project, targeting .NET 2.0 (and System.Web.Extensions 1.0). I recommend that you change the TargetFramework of your project to 3.5 and ensure that the Telerik.Web.UI assembly in the BIN folder is versioned xxxx.x.xxx.35.


    Sincerely yours,
    Maria Ilieva
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. cwk
    cwk avatar
    31 posts
    Member since:
    Apr 2007

    Posted 20 Sep 2012 Link to this post

    Hi, I using vs2010, .net 4 asp.net project on windows 7. telerik version 2012.2.918.4. after upgrading to this latest version, my control encounter error creating control. I went to reinstall the GAC with telerik.web.design.dll and telerik.web.ui. the controls now appear ok, but while running , i face another error as attached. Appreciate any help to solve this problem. thanks.
    regards
    cwk
  5. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 25 Sep 2012 Link to this post

    Hi Chik,

    Please double check the bin folder of your application and ensure that there are no old dll files and no assemblies that end with .35 in it. Also, can you check if your project has references to the System.Web.Extensions assembly? Which version of the assembly does it refer to?


    Kind regards,
    Maria Ilieva
    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