473,385 Members | 1,712 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,385 software developers and data experts.

usercontrols problem

Hi all,

I have a .aspx page that references a master page and has a usercontrol. I
get the following error:-

Content controls are allowed only in content page that references a master
page.

Any Ideas?
Jan 15 '06 #1
2 842
Joe
param,
A content page may contain only markup inside of Content control. Therefore,
if you have a usercontrol outside the content controls. The error occurs.

Regards
Joe Tsui
"pa***@community.nospam" wrote:
Hi all,

I have a .aspx page that references a master page and has a usercontrol. I
get the following error:-

Content controls are allowed only in content page that references a master
page.

Any Ideas?

Jan 15 '06 #2
Got it. Thanks!

"Joe" <Jo*@discussions.microsoft.com> wrote in message
news:E0**********************************@microsof t.com...
param,
A content page may contain only markup inside of Content control.
Therefore,
if you have a usercontrol outside the content controls. The error occurs.

Regards
Joe Tsui
"pa***@community.nospam" wrote:
Hi all,

I have a .aspx page that references a master page and has a usercontrol.
I
get the following error:-

Content controls are allowed only in content page that references a
master
page.

Any Ideas?

Jan 15 '06 #3

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

Similar topics

2
by: putman | last post by:
I am sure that this has come up here before, but the Search is not working for me for this newsgroup. I am working on a Windows Forms project where I have created a number of usercontrols that I...
2
by: Emma | last post by:
Hi, I'm developing a GUI with almost all Usercontrols. It's been working wonderfull up till a few weeks ago, and really crashed yesterday. Suddenly I can no longer add some of my usercontrols...
2
by: Picander | last post by:
hello, I am developing a boardgame, with a large number of customed usercontrols ( e.g. 20 X 20 = 400 ). I find it very usefull to use usercontrols, as they can contains specific properties and...
4
by: Anders K. Jacobsen [DK] | last post by:
Hi I have some common UserControls i want to share between to sites (on the same mashine but on diffrent virtual paths). right now i have on solution file with aprox 10 projects. 2 of these is...
3
by: b747_440 | last post by:
Dear Newsgroup, I'm an old VB6.0 developper who switched some time ago to VB.NET 2005. I really like that new Visual Studio. However, something is going wrong now and I can't figure out, what it...
0
by: seigo | last post by:
Hello, I faced with the following problem. I have a PlaceHolder on a page and a few UserControls which have custom events, for instance: public delegate void SelectHandler(object sender,...
4
by: Nathan Sokalski | last post by:
In several of my UserControls I add properties. If I access these properties in the CodeBehind of the pages that use the controls, I recieve an error when compiling. The reason for this is because...
7
by: Nathan Sokalski | last post by:
I have a page which I dynamically add several usercontrols (*.ascx files) to using the following code: Public Sub Refresh() For Each section As DataRow In Me.GetSections().Rows...
0
by: Screaming Eagles 101 | last post by:
Hi, since a while I have a problem with a solution containing 2 projects , let's say a project Main with the interface and a project controls with 4 usercontrols, which I use on the 'Main' form. ...
1
by: m.bagattini | last post by:
Hello folks, I'm in trouble with an application using methodologies in subject. The idea is to have a single-page application. The host aspx page coordinates all visualizations, loading and...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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...

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.