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

JustCode Error: asp:TextBox not registered

1 Answer 65 Views
Code Analysis
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Eric
Top achievements
Rank 1
Eric asked on 15 Mar 2014, 12:52 PM
I have a ASP.net WebForms project where I am getting errors regarding common toolbox items not being registered. Any help in addressing these errors would be most appreciated as my project has 110 files and is reporting over 4000 errors and most seem be in this category so it is making it hard to know what are actual errors vs these odd reports. Thanks!

JustCode version Q1 2014 (2014.1.225.1)

The errors that are reported from JustCode from the snippet below are: 
ASP.Net tags: ASP.net tag asp:Content not registered
ASP.Net tags: ASP.net tag asp:Content not registered
ASP.Net tags: ASP.net tag asp:Literal not registered
ASP.Net tags: ASP.net tag asp:Content not registered

<% Page Title="" Language="C#" MasterPageFile="~/MasterPages/MasterPage_3ContentPanel.master" AutoEventWireup="true" CodeFile="Registration.aspx.cs" Inherits="Account_Registration" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<asp:Content ID="Content1" ContentPlaceHolderID="BannerLogoContentPlaceHolder" Runat="Server">
         <script type="text/javascript">

             function openRadWin() { $find("<%=termsAndConditionsWindow.ClientID %>").show(); }
     </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="PageNameContentPlaceHolder" Runat="Server">
    <asp:Literal ID="pageTitleLabel" runat="server"></asp:Literal>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="PageBody" Runat="Server">
</asp:Content>

1 Answer, 1 is accepted

Sort by
0
Ivan
Telerik team
answered on 18 Mar 2014, 07:53 AM
Hi,

Thank you for your feedback.
I reviewed it and tried to reproduce your issue, but was not able to. Could I ask you to try refreshing the code analysis from "JustCode -> Analysis -> Refresh Code Analysis". If the errors are still there after the refresh, could you send us a sample solution reproducing your issue?
It will help us find and fix it as soon as possible.
Your help is highly appreciated!

Regards,
Ivan
Telerik
 

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

 
Tags
Code Analysis
Asked by
Eric
Top achievements
Rank 1
Answers by
Ivan
Telerik team
Share this question
or