i used the time picker that has described on this link Time Picker
But i got one parser error while debugging. the error message is:
Parser Error Message: Unknown server tag 'cc1:TimeSelector'.
How to avoid this one? Please help me..
Make sure you register the control at the top of your page:
<%# Register TagPrefix="cc1" TagName="TimeSelector" Assembly="TimePicker" Namespace="MKB.TimePicker" %>
Related
I have created a application page for login functionality in sharepoint by following this post.
But this giving me an error at inheriting the page. I have folder structure and .aspx file like below.
Did I done any mistake while giving the link to the .cs file in the application page?
After I deployed into my site, it is giving me error like below.
I am trying to resolve it from 2 hrs, but unable to find the solution. Can any one suggest me the way to do it please!!
Try to add
<%# Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
before
<%# Page ... %>
Add $SharePoint.Project.AssemblyFullName$ to your Inherits attribute
Instead of <%# Page Language="C#" AutoEventWireup="true" CodeBehind="YourPage.aspx.cs" Inherits="YourNamespace.YourPage" %>
Use <%# Page Language="C#" AutoEventWireup="true" CodeBehind="YourPage.aspx.cs" Inherits="YourNamespace.YourPage,$SharePoint.Project.AssemblyFullName$" %>
This could also be happened when there are another reference to that assembly which didn't exist. To show the error, simply check Ha Doan answer.
I add this tag to my asp.net page (aspx):
<obout:Calendar runat="server"
ShowTimeSelector="true"
DateFormat="MM/dd/yyyy hh:mm:ss"
DatePickerMode="true"
TextBoxId="txtDate">
</obout:Calendar>
but i am geting this error "unrecognized tag prefix or device filter obout" what am i missing?
thanks
You need to register the tag prefix "obout" by adding something along these lines to the top of your page:
<%# Register TagPrefix="obout" Namespace="OboutInc.Calendar2" Assembly="obout_Calendar2_Net" %>
See the documentation here.
I am a new to CSS world, so please help me out to figure it out.
I have tried to use a sample css from DevExpress ASP MVC demo and I have received a below error msg. I have two questions regarding this error msg.
What do I need add to resolve this error?
What deos "dx:" means?
By the way, I am getting "Unrecognized tag prefix or device filter 'dx' in visual studio 2010.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Unknown server tag 'dx:Head'.
Source Error:
Line 14: <title></title>
Line 15: <asp:ContentPlaceHolder id="CustomTopHeadHolder" runat="server" />
Line 16: <dx:Head ID="Head" runat="server" />
Line 17: <asp:ContentPlaceHolder id="CustomHeadHolder" runat="server" />
The "dx" is just a tag to tell it is a DevExpress Command. For the error message try registering the tags you are going to use.
For example if you are planning to use a ASPxNavBar then you will have to add this
<%# Register Assembly="DevExpress.Web.v10.2, Version=10.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
Namespace="DevExpress.Web.ASPxNavBar" TagPrefix="dx" %>
Note this is for the Version 10.2.6. You will have to add the appropriate one for your project
Hope this helps.
Looks like a namespace prefix. Have a look at this question for guidance.
I am in the process of upgrading a website from Visual Studio 2005 to 2010. I ran it through the importer, however I'm having some errors. Specifically I'm having the following error:
Error 615 Unknown server tag 'CTL:PayPal'
If I go to the file that it is complaining about I have the following at the top of the file:
<%# Control Language="C#" AutoEventWireup="true" Inherits="PowerShop.Admin.UI.Customer.Controls.CustomerPaymentList" %>
<%# Register TagPrefix="CTL" TagName="OrderPaymentList" Src="~/Order/Controls/OrderPaymentList.ascx" %>
<%# Register TagPrefix="CTL" TagName="PayPal" Src="~/Order/Controls/OrderWizard/PayPalDetail.ascx" %>
<%# Register TagPrefix="CTL" TagName="Term" Src="~/Order/Controls/OrderWizard/LineOfCreditDetail.ascx" %>
<%# Register TagPrefix="Shipping" TagName="AddressVerification" Src="~/Controls/AddressVerificaton.ascx" %>
<%# Import Namespace="PowerShop.Configuration" %>
I have checked and double checked the register tags and the file but everythin appears to be correct. The file exists (PayPalDetail.ascx) in the exact location I am specifying. This page does not throw any errors on any of the other register tags. Any help or insight would be much appreciated.
I think it would be in wrong place like you could have by mistake put it in the page instead of putting it in the UserControl which have the Register tag.
Also, this can occur if the Paypal user control is not able to compile due to some bug in it.
Where are you placing the CTL:Paypal tag ??
.
PS: More detailed question could have a chance of more detailed answer !
When I try to access my ASP.NET password recovery page, I get the following error:
Description: An error occurred during
the parsing of a resource required to
service this request. Please review
the following specific parse error
details and modify your source file
appropriately.
Parser Error Message: Could not load
type 'RugbyClubWebApplication.ForgotPassword'.
Source Error:
Line 1: <%# Page Language="C#" MasterPageFile="~/SubMaster.Master" AutoEventWireup="true" CodeBehind="ForgotPassword.aspx.cs" Inherits="RugbyClubWebApplication.ForgotPassword" Title="Untitled Page" %>
Line 2: <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
Line 3: </asp:Content>
Source File: /Rugby/ForgotPassword.aspx Line: 1
Any ideas?
You may be able to fix this by simply cleaning and rebuilding the entire solution.
This can sometimes happen when file or project names change and class or namespaces aren't updated. Is the name of the class defined in ForgotPassword.aspx.cs actually ForgotPassword, and is it in the namespace RugbyClubWebApplication?
i.e. you should have the following in your class file:
namespace RugbyClubWebApplication
{
public class ForgotPassword
{
...
}
}
Also, if you're using Visual Studio, is the Default Namespace of the project which contains this class correct? This is found in the Properties page of the project.
Assuming this to be an ASP.NET 2.0 Website project and that the class name and file names are correct, you should try replacing the CodeBehind attribute of the #Page directive with the CodeFile attribute, instead. In .NET 2.0 and above, the CodeBehind attribute exists only for backward compatibility and you should be using the CodeFile attribute along with the Inherits to specify a code behind file along with class name.