473,408 Members | 2,477 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

error with tagPrefix registering in web.config feature?

We have a custom (ascx) control that is used in several pages.
In ASP.NET 1.1, we had register tagprefix specified in every page that
uses this control; in 2.0, I decided to add this control to one more
page so I added tagprefix registration to web.config. However, when I
tried to open the page (after building the app ofc) it gave me errors
in control's page_load - all of its inner controls (textboxes etc) were
nulls.
As soon as I copy pasted register tagprefix from some of the old forms,
everything started working.
I also had this problem with some of the new controls I wrote -
doclaratively declared textboxes etc in my new controls were not
instantiated when I added my control to a page with tagprefix stuff
stored in web.config. I didn't know how to fix it back then so I wound
up writing logic to create inner controls at runtime and add them to
this.Controls collection.

How do I fix this error?

Nov 30 '06 #1
0 976

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Blood... | last post by:
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...
1
by: Dan | last post by:
Hi everyone, I have a web application that was built in .net. I received the source code and the DLL files, compiled the application, and when I run it on IIS, I get the following error. ...
5
by: tshad | last post by:
I was looking at a Custom Validator that 4 Guys had posted that would solve my RequiredValidator problem with CheckBoxLists and it says it can't find the .dll. But the dll is in both the Bin...
0
by: David Davis | last post by:
I am setting up some collaboration software called eProject for a client. eProject is a web based asp application. During setup, the instructions called for registering a service called...
3
by: Tim_Mac | last post by:
Hi, i have this in my web.config: <pages validateRequest="false" > <controls> <add tagPrefix="uc1" src="/Whatever.ascx" tagName="Whatever"/> i have this in Login.aspx: <uc1:Whatever id="Blah"...
1
by: Carlos Sosa Albert | last post by:
Hello people, I'm having an issue registering an assembly in ONE server. I've already tried to reinstall the .NET framework 2.0 but the error is still there. I enabled the logging but nothing...
13
by: Kevin Liebowicz | last post by:
Yes, I wasted the past two days trying to fix this. Yes, this is on a Win2003 Server. Yes, this machine is a domain controller. Yes, I seen the dozens of KB articles like this one:...
0
by: hirebrian | last post by:
If you run accross the error message: "Element '%' is not a known element. This can occur if there is a compilation error in the Web site" where '%' is the value of the tagName attribute on a...
3
by: =?Utf-8?B?RGFuYQ==?= | last post by:
I am re-posting this message after registering my posting alias. When I specify an end tag for the clear element of namespaces in my web.config file, the parser error "Unrecognized element 'add'"...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.