无法识别的标签前缀或设备过滤器cc1-这意味着什么?请帮忙 [英] Unrecognized tag prefix or device filter cc1-what it means? Please help

查看:79
本文介绍了无法识别的标签前缀或设备过滤器cc1-这意味着什么?请帮忙的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您是我的新网页表格之一我的aspx页面有此错误。





Hi am new to the web form one of my aspx page having this error.


<%@ Page Title="" Language="C#" MasterPageFile="~/Master/Site1.master" AutoEventWireup="True" CodeBehind="LOR.aspx.cs" Inherits="CCMD_TEST.LOR" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style2
        {
            width: 188px;
        }
        .style3
        {
            width: 173px;
        }
        .style4
        {
            color: #000000;
            font-family: "Segoe UI";
        }
        .style6
        {
            height: 16px;
        }
        .style7
        {
            height: 19px;
        }
        .style8
        {
            width: 126px;
        }
        .style9
        {
            width: 188px;
            font-family: "Segoe UI";
            color: #000000;
        }
    </style>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
       
    <%# gvDetails.Rows.Count + (gvDetails.PageIndex * 75) + 1%>
    <%--<asp:BoundField DataField="DemID" HeaderText="DemID" />--%>
    <%----%>
    
        
            
                   Letter Of Request
            
        
        
            
                 
            
            
                        Nature Of Work
            
            
                <asp:DropDownList ID="ddlnatureofwork" runat="server" Height="23px" Style="margin-left: 0"

                    Width="172px">
                    <asp:ListItem>Select Nature
                    <asp:ListItem>Electrical
                    <asp:ListItem>Civil
                
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="ddlnatureofwork"

                    Text="*" ErrorMessage="nature of work" InitialValue="Select Nature" ForeColor="Red"

                    EnableClientScript="true" SetFocusOnError="true">
            
            
                <%--<asp:LinkButton ID="lbtnMail" runat="server" OnClientClick="window.document.forms[0].target='_blank';"
                    CausesValidation="false" PostBackUrl="~/Mail.aspx">Compose Mail--%>
                <%-- <asp:LinkButton ID="lbtnMail" runat="server" 
                    onclick="lbtnMail_Click1">Compose Mail--%>
            
        
        
            
                 
            
            
                        Department
            
            
                <asp:DropDownList ID="ddDepartment" runat="server" Width="75%">
                
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="ddDepartment"

                    ErrorMessage="department" InitialValue="Select One" ForeColor="Red" Text="*"

                    EnableClientScript="true" SetFocusOnError="true">
            
        
        
            
                 
            
            
                        Request Date
            
            
                <asp:TextBox ID="txtletterdt" runat="server" Height="20px" Width="168px">
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="letter date"

                    ControlToValidate="txtletterdt" ForeColor="Red" EnableClientScript="true" SetFocusOnError="true">*
            
            
                 
            
        
        
            
                 
            
            
                       Requirements  
            
            
                <asp:TextBox ID="txtRequirements" runat="server" Height="60px" Width="191px" Style="resize: none"

                    TextMode="MultiLine">
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="Requirements"

                    Text="*" ControlToValidate="txtRequirements" ForeColor="Red" EnableClientScript="true"

                    SetFocusOnError="true">
            
            
                <asp:Label ID="lblDemNo" runat="server" Visible="False">
            
        
        
            
                 
            
            
                      Attach Letter Of Request
            
            
                <asp:FileUpload ID="FileUpload1" runat="server" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="FileUpload1"

                    ErrorMessage="Choose a file!" EnableClientScript="true" ForeColor="Red" Text="*"

                    SetFocusOnError="true"> 
            
            
                <asp:Button ID="btnUpload" runat="server" Text="Upload" OnClick="btnUpload_Click" />
                <asp:Image ID="imgLoading" Visible="false" runat="server" ImageUrl="~/images/Uploading.gif" />
            
        
        
            
                 
            
            
                 
            
            
                <asp:ValidationSummary ID="ValidationSummary1" ShowMessageBox="true" ShowSummary="false"

                    HeaderText="You must enter a value in the following fields:" EnableClientScript="true"

                    runat="server" ForeColor="#FF3300" />
                 
            
            
                 
            
        
        
            
                 List of Request 
            
        
        
            
                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                    
                        <asp:PostBackTrigger ControlID="gvDetails" />
                    
                    
                        <asp:GridView ID="gvDetails" runat="server" AutoGenerateColumns="False" DataKeyNames="DemID"

                            OnRowDataBound="gvDetails_RowDataBound" HorizontalAlign="Center" CellPadding="4"

                            ForeColor="#333333" AllowPaging="True" OnPageIndexChanging="gvDetails_PageIndexChanging">
                            
                            
                            <HeaderStyle Font-Bold="true" BackColor="#5D7B9D" ForeColor="White" />
                            <%--<SelectedRowStyle BackColor="#FFFF66" />--%>
                            
                            
                                <asp:TemplateField HeaderText="SlNo">
                                    
                                        <%# gvDetails.Rows.Count + (gvDetails.PageIndex * 75) + 1%>
                                    
                                    
                                
                                <asp:TemplateField HeaderText="DemID">
                                    
                                        <asp:LinkButton ID="lnkView" runat="server" Text='<%# Bind("DemID") %>' OnClick="lnkView_Click"

                                            CausesValidation="false">
                                    
                                
                                <%--<asp:BoundField DataField="DemID" HeaderText="DemID" />--%>
                                <asp:BoundField DataField="LetterName" HeaderText="Letter Of Request" />
                                <asp:BoundField DataField="NatureOfWork" HeaderText="Nature Of Work" />
                                <asp:BoundField DataField="LetterDate" HeaderText="Request Date" DataFormatString="{0:dd/MM/yyyy}" />
                                <asp:BoundField DataField="Department" HeaderText="Department" />
                                <asp:BoundField DataField="Requirements" HeaderText="Requirements" HeaderStyle-Width="100%">
                                    <HeaderStyle Width="100%" />
                                
                                <asp:BoundField DataField="InsertDate" HeaderText="Schedule Date" DataFormatString="{0:dd/MM/yyyy}" />
                                <asp:TemplateField HeaderText="SheduleMeeting">
                                    
                                        <asp:LinkButton ID="lnkDownload" runat="server" Text="SheduleMeeting" OnClick="lnkDownload_Click"

                                            CausesValidation="false">
                                    
                                
                            
                            
                            
                            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                            
                            
                            
                            
                        
                    
                
            
        
    
    <%----%>
    
    <cc1:calendarextender ID="CE" TargetControlID="txtletterdt"   runat="server" FirstDayOfWeek="Sunday"

        Format="dd/MM/yyyy">
    
    <cc1:textboxwatermarkextender ID="TBWE"   runat="server" TargetControlID="txtletterdt"

        WatermarkText="Select Letter Date">





What I have tried:



<%@ Register Assembly=\"AjaxControlToolkit\"

Namespace=\"AjaxControlToolkit\" TagPre fix=\"cc1\" %>



when i given this code top of the code also not working



What I have tried:

<%@ Register Assembly="AjaxControlToolkit"
Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

when i given this code top of the code also not working

推荐答案

Your code
<cc1:calendarextender

means that you have a library registered as cc1 and in it is a control named calendarextender.



So, the error is telling you that you have not declared what cc1 is. See Richard’s comments about Registering it in the Page Directive.

means that you have a library registered as cc1 and in it is a control named calendarextender.

So, the error is telling you that you have not declared what cc1 is. See Richard's comments about Registering it in the Page Directive.


这篇关于无法识别的标签前缀或设备过滤器cc1-这意味着什么?请帮忙的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆