+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / 28 warnings on fresh project.

28 warnings on fresh project.

2 posts, 0 answered
  1. CDM
    CDM avatar
    4 posts
    Registered:
    23 Jan 2010
    02 Feb 2010
    Link to this post
    Dear support,

    We are evaluating the Telerik Sitefinity product for a major client implementation.  As part of my efforts I created an empty test project using the Project tool, then entered VS2008 to refine things.   In doing a compilation without any modifications on my part I noticed the following Warnings.   Generally in our projects we set Warnings as Errors in the build process to ensure that we do not have any nasty surprises down the line.

    I am a little concerned about these messages - could you give me some advice about how I should proceed?   I can start modifying the code to remove the messages, but should these be here in the first place?

    Any help or information you can provide would be greatly appreciated.

    Warning    1    'Telerik.IWebModule.
    CreateToolBoxControls(System.Web.UI.TemplateControl)' is obsolete: 'The method should return empty array'       
    Warning    2    'Telerik.IControlPanelCommand' is obsolete: 'Use Telerik.Web.ICommandPanel instead. There is also base implementation for this interface Telerik.Web.CommandPanelBase'       
    Warning    3    'Telerik.IControlPanel' is obsolete: 'Use Telerik.Web.IControlPanel instead. There is also base implementation for this interface Telerik.Web.ControlPanelBase'       
    Warning    4    'Telerik.IControlPanel' is obsolete: 'Use Telerik.Web.IControlPanel instead. There is also base implementation for this interface Telerik.Web.ControlPanelBase'       
    Warning    5    'Telerik.IControlPanel' is obsolete: 'Use Telerik.Web.IControlPanel instead. There is also base implementation for this interface Telerik.Web.ControlPanelBase'       
    Warning    6    The variable 'hasPerm' is assigned but its value is never used       
    Warning    7    The field 'Telerik.ChangeRecepients.Newsletter_Default.template' is never used       
    Warning    8    'Telerik.Security.WebControls.PermissionSet.ItemTemplate' is obsolete: 'Use SimpleViewTemplate property instead.'       
    Warning    9    'Telerik.Cms.Engine.WebControls.Categories.CategoriesField' is obsolete: 'This class is obsolete. Please use ContentCategoriesField instead.'    c:\Users\Peter\AppData\Local\Temp\Temporary ASP.NET Files\sitemoduletest\d82ce583\60ed55e8\App_Web_23-s8vw9.0.cs    4583   
    Warning    10    'Telerik.Cms.Engine.WebControls.Tags.TagEditor' is obsolete: 'This class is obsolete. Please use ContentTagEditor class instead.'    c:\Users\Peter\AppData\Local\Temp\Temporary ASP.NET Files\sitemoduletest\d82ce583\60ed55e8\App_Web_23-s8vw9.0.cs    4623   
    Warning    11    'Telerik.Cms.Engine.WebControls.Categories.CategoriesField' is obsolete: 'This class is obsolete. Please use ContentCategoriesField instead.'    c:\Users\Peter\AppData\Local\Temp\Temporary ASP.NET Files\sitemoduletest\d82ce583\60ed55e8\App_Web_23-s8vw9.3.cs    2541   
    Warning    12    'Telerik.Cms.Engine.WebControls.Tags.TagEditor' is obsolete: 'This class is obsolete. Please use ContentTagEditor class instead.'    c:\Users\Peter\AppData\Local\Temp\Temporary ASP.NET Files\sitemoduletest\d82ce583\60ed55e8\App_Web_23-s8vw9.3.cs    2581   
    Warning    13    'Telerik.Cms.Engine.WebControls.Categories.CategoriesField' is obsolete: 'This class is obsolete. Please use ContentCategoriesField instead.'    c:\Users\Peter\AppData\Local\Temp\Temporary ASP.NET Files\sitemoduletest\d82ce583\60ed55e8\App_Web_23-s8vw9.0.cs    4584   
    Warning    14    'Telerik.Cms.Engine.WebControls.Categories.CategoriesField' is obsolete: 'This class is obsolete. Please use ContentCategoriesField instead.'       
    Warning    15    'Telerik.Cms.Engine.WebControls.Tags.TagEditor' is obsolete: 'This class is obsolete. Please use ContentTagEditor class instead.'    c:\Users\Peter\AppData\Local\Temp\Temporary ASP.NET Files\sitemoduletest\d82ce583\60ed55e8\App_Web_23-s8vw9.0.cs    4624   
    Warning    16    'Telerik.Cms.Engine.WebControls.Tags.TagEditor' is obsolete: 'This class is obsolete. Please use ContentTagEditor class instead.'       
    Warning    17    'Telerik.Cms.Engine.WebControls.Categories.CategoriesField' is obsolete: 'This class is obsolete. Please use ContentCategoriesField instead.'    c:\Users\Peter\AppData\Local\Temp\Temporary ASP.NET Files\sitemoduletest\d82ce583\60ed55e8\App_Web_23-s8vw9.0.cs    5105   
    Warning    18    'Telerik.Cms.Engine.WebControls.Tags.TagEditor' is obsolete: 'This class is obsolete. Please use ContentTagEditor class instead.'    c:\Users\Peter\AppData\Local\Temp\Temporary ASP.NET Files\sitemoduletest\d82ce583\60ed55e8\App_Web_23-s8vw9.0.cs    5148   
    Warning    19    'Telerik.Cms.Engine.WebControls.Categories.CategoriesField' is obsolete: 'This class is obsolete. Please use ContentCategoriesField instead.'    c:\Users\Peter\AppData\Local\Temp\Temporary ASP.NET Files\sitemoduletest\d82ce583\60ed55e8\App_Web_23-s8vw9.3.cs    2542   
    Warning    20    'Telerik.Cms.Engine.WebControls.Categories.CategoriesField' is obsolete: 'This class is obsolete. Please use ContentCategoriesField instead.'       
    Warning    21    'Telerik.Cms.Engine.WebControls.Tags.TagEditor' is obsolete: 'This class is obsolete. Please use ContentTagEditor class instead.'    c:\Users\Peter\AppData\Local\Temp\Temporary ASP.NET Files\sitemoduletest\d82ce583\60ed55e8\App_Web_23-s8vw9.3.cs    2582   
    Warning    22    'Telerik.Cms.Engine.WebControls.Tags.TagEditor' is obsolete: 'This class is obsolete. Please use ContentTagEditor class instead.'       
    Warning    23    'Telerik.Cms.Engine.WebControls.Categories.CategoriesField' is obsolete: 'This class is obsolete. Please use ContentCategoriesField instead.'    c:\Users\Peter\AppData\Local\Temp\Temporary ASP.NET Files\sitemoduletest\d82ce583\60ed55e8\App_Web_23-s8vw9.3.cs    3059   
    Warning    24    'Telerik.Cms.Engine.WebControls.Tags.TagEditor' is obsolete: 'This class is obsolete. Please use ContentTagEditor class instead.'    c:\Users\Peter\AppData\Local\Temp\Temporary ASP.NET Files\sitemoduletest\d82ce583\60ed55e8\App_Web_23-s8vw9.3.cs    3100   
    Warning    25    'UserControls_Nav_SiteTreeview.SkinID' hides inherited member 'System.Web.UI.Control.SkinID'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.       
    Warning    26    'UserControls_Nav_SitePanelbar.SkinID' hides inherited member 'System.Web.UI.Control.SkinID'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.       
    Warning    27    'UserControls_Nav_SiteMenu.SkinID' hides inherited member 'System.Web.UI.Control.SkinID'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.       
    Warning    28    'UserControls_Nav_SiteTabstrip.SkinID' hides inherited member 'System.Web.UI.Control.SkinID'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.       
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    02 Feb 2010
    Link to this post
    Hi CDM,

    Thank you for using our services.

    We apologize for the inconvenience caused, and we understand your concerns. We have marked a number of methods as obsolete, however those being used and throwing those warnings work without a problem. On most of the places the warnings are thrown from compiled code, so you will not be able to fix them. However in places such as ~/Sitefinity/UserControls/Navigation35 you will be able to remove the warnings.

    We will try to clear the warning messages for one of our next SP releases.

    Kind regards,
    Radoslav Georgiev
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
2 posts, 0 answered