CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

MS SQL 2008 on ASP.NET Hosting
Free 3 Months



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 1/21/2005 5:09:23 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 5 Views: 30 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
6 Items, 1 Pages 1 |< << Go >> >|
pkellner
Asp.Net User
Error in Nov CTP I do not understand1/21/2005 5:09:23 PM

0/0

I am getting the error in my aspx page:

'CC1' is an unrecognized tag prefix or device filter.'

the app works fine and it seems it is declared correctly. The page is pasted below. Any ideas?

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Excercise.aspx.cs" Inherits="Excercise_aspx" %>
<%@ Register TagPrefix="CC1" Namespace="ZedGraph" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>

<CC1:ZEDGRAPHWEB id="ZEDGRAPHWEB1" Width="500" Height="300" runat="server" OnLoad="ZEDGRAPHWEB1_Load" OnRenderGraph="ZEDGRAPHWEB1_RenderGraph" ></cc1:ZEDGRAPHWEB>

</div>
</form>
</body>
</html>
Peter Kellner
http://73rdstreet.com and blogging at
http://PeterKellner.net
MVP, ASP.NET
BrockAllen
Asp.Net User
Re: Error in Nov CTP I do not understand1/21/2005 8:20:36 PM

0/0

This is contradictory: "I am getting the error in my aspx page" and "the app works fine".

Where is ZEDGRAPHWEB defined? If it's in the App_Code directory, then it should work fine. If the custom control is defined in a different assembly, then you'll also need the Assembly attribute on the Register directive.

-Brock

DevelopMentor
http://staff.develop.com/ballen
snaayk
Asp.Net User
Re: Error in Nov CTP I do not understand1/24/2005 4:03:26 AM

0/0

I get this error also. It must be a NOv BTP bug. Since that's when it started. Everything works OK but the tags are not recognized whether registered on WebConfig or at the page.
pkellner
Asp.Net User
Re: Error in Nov CTP I do not understand1/24/2005 5:03:47 AM

0/0

Thanks snaayk, I thought I was going crazy. (more crazy that is)
Peter Kellner
http://73rdstreet.com and blogging at
http://PeterKellner.net
MVP, ASP.NET
Fredrik N
Asp.Net User
Re: Error in Nov CTP I do not understand1/24/2005 5:06:29 AM

1/1

As Brock wrote, if the control is located within the App_Code folder, you only need to specify the Namespace and TagPrefix. If the control is located in a different assembly, you need to add the Assembly attribute and add a reference to the assembly.

I have not the same problem with the Nov CTP. So maybe you are missing something!?

/Fredrik Norm?n NSQUARED2
Microsoft MVP, MCSD, MCAD, MCT

Cornerstone

My Blog, ASP.Net 2.0 etc
snaayk
Asp.Net User
Re: Error in Nov CTP I do not understand1/24/2005 4:45:21 PM

0/0

I have pages where in beta1 I got no errors and I do since Noc CTP. Also, I have referenced my tags in WebCOnfig (per your blog) and this also worked in beta1 but in CTP I get the red underlines. The pages run with no problem, but I get red underlines.

Furthermore, if I add the dll to my toolbox and drag & drop the control the page it'll "recognize" it and not underline it (including any previously underlined items). However, when I close and come back - I get the underlines.
6 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Disjunctivism: Perception, Action, Knowledge Authors: Adrian Haddock, Fiona Macpherson, Pages: 400, Published: 2008
Basic Questions on Truth Authors: Paul Weingartner, Pages: 228, Published: 2000
Demystifying Switched Capacitor Circuits: Demystifying Technology V. 1 Authors: Mingliang Liu, Michael Liu, Pages: 317, Published: 2006
Style: Laughing Through the Turmoil : a Collection of Wicked Wit, 1980-1990 Authors: Julian Askin, Pages: 165, Published: 1990

Web:
Error in Nov CTP I do not understand - ASP.NET Forums Re: Error in Nov CTP I do not understand. 01-21-2005, 3:20 PM. Contact ... Re: Error in Nov CTP I do not understand. 01-23-2005, 11:03 PM ...
Error installing November CTP - MSDN Forums Nov 21, 2007 ... Error installing November CTP Question Was this post helpful ? ... I tried for CTP4 but failed I do not know the reason. ...
Spatial References in SQL Server 2008 November CTP « GeoMusings I’ve been playing with the SQL 2008 November CTP since it was released last week ... Results of operations on spatial data that do not meet this requirement ...
Notes on WPF Changes from Sept 2005 (PDC) CTP to November 2005 CTP You’ll also want to check out Microsoft’s Introducing the November CTP: What’s .... It has a Children property instead, although you do not need to specify ...
Visual Studio For Devices : A Patch for the November CTP (VS 2005 ... NET CF Application using the November CTP and then press F5 or CRTL+F5 to ... Do you get the same error when doing CTRL+F5 ? For the CTPs I am not sure how ...
SQL Server 2005 SP2 Nov CTP is HERE!!! |Database Underground ... Nov 6, 2006 ... Well, SQL Server SP2 Nov CTP is being released today so I hope .... Certain keys such as Home, End, Backspace and Enter do not work in SSMS ...
hosting in IIS November CTP - microsoft.public.windows.developer ... You do not have the permission required to post. ... are some changes in the config schema in Nov CTP. Eg: "configurationName" is ...
Guy Barrette's Blog - Visual Studio 2005 Support for SQL Server ... Nov 20, 2007 ... This CTP does not support the following features for SQL Server 2008 Nov CTP: ... If you do not understand, or cannot read all directions, ...
The Moth: November CTP As you should be aware by now, there is a November CTP out (I learned about it ... Creating a project was not so smooth though; some error about System. ...
Can not get iis working in Nov CTP - ASP.NET Forums The error was 'The specified metadata was not found. ... IIS for the November CTP on a brand new install of XP Prof, What do I need to do? ...




Search This Site:










masterpage "enableviewstate=false" breaks dropdownlist_selectedindexchanged event

how to include the javascript in master page when .js is specified seperate in the project

two web forms with masterpage, should be moved to master page

menu control problem in ie 7

login control and themes query

about menu control

stylesheettheme cannot be set programatically?

sitemappath and rewriter problems

how to change the header falsh programmatically?

dynamic theme and master page

help! 2 sitemap nodes with same url = error!

the file web.sitemap required by xmlsitemapprovider does not exist

menuitem and securitytrimming

size of content place holder

asp.net themes skin

vertical aligning problems again

using masterpage without design time feature..

sitemapnode denying users (not allow) - security trimming

master page postback result with gridview rowcommand

weird asp:menu problem.

any insights into controlling treeview checkbox state via javascript?

menu control doesn't support target="_blank"?????

difficult to control the style of the menu in asp.net 2.0

css

how to call form elements?

selecting a selected treeview-node ?

double post back on tree view control

is it possible to set border property for contentplaceholder?

can't run website using template

master page in vb.net using web matrix

  Privacy | Contact Us
All Times Are GMT