473,473 Members | 2,104 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

"ASP.NET 2005 custon server control" in "ASP.NET 2003 application"

Hello,

I have two questions:

1.) Could I create a custom server control in 2005 in order to leverage
the CompositeControl base class and then use that control in 2003?
(fingers crossed but guessing aboslutely not)

2.) How good does ASP.NET 2005 handle a custom composite control inside
of a custom composite control ?

For example:

Cntrl_A inherits from CompositeControl and does all sorts of neat stuff

Cntrl_B also inherits from CompositeControl and has two instances of
Cntrl_A (as per below)

Protected Overrides Sub CreateChildControls()
Controls.Clear()

cntrl_A1= New Cntrl_A()
cntrl_A1.ID = "FirstControl"
cntrl_A2= New Cntrl_A()
cntrl_A2.ID = "SecondControl"

Me.Controls.Add(cntrl_A1)
Me.Controls.Add(cntrl_A2.)
End Sub

Thinking MicroSoSoft may have troubles with postbacks and validations
if controls get nested too deep. If not then I might need to upgrade.

Thanx in advance.

Aug 27 '06 #1
1 1268

"Electric Co." <jm*****@ucalgary.cawrote in message
news:11*********************@i42g2000cwa.googlegro ups.com...
Hello,

I have two questions:

1.) Could I create a custom server control in 2005 in order to leverage
the CompositeControl base class and then use that control in 2003?
(fingers crossed but guessing aboslutely not)
You are a great guesser.
2.) How good does ASP.NET 2005 handle a custom composite control inside
of a custom composite control ?

For example:

Cntrl_A inherits from CompositeControl and does all sorts of neat stuff

Cntrl_B also inherits from CompositeControl and has two instances of
Cntrl_A (as per below)

Protected Overrides Sub CreateChildControls()
Controls.Clear()

cntrl_A1= New Cntrl_A()
cntrl_A1.ID = "FirstControl"
cntrl_A2= New Cntrl_A()
cntrl_A2.ID = "SecondControl"

Me.Controls.Add(cntrl_A1)
Me.Controls.Add(cntrl_A2.)
End Sub

Thinking MicroSoSoft may have troubles with postbacks and validations
if controls get nested too deep. If not then I might need to upgrade.
It should not be a problem. You have to nest pretty deep before you get
yourself into serious trouble. Poorly designed controls can certainly cause
problems, however.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************************************************
Think outside of the box!
*************************************************
Oct 10 '06 #2

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

Similar topics

2
by: Schrodiodo | last post by:
I need some help, please. Alphabetically: BizTalk Server
0
by: chan fookmun via .NET 247 | last post by:
Hi everyone, i have an ADAM(Active Directory Application Mode) instance inwindows xp. However when i want to create a new attribute andupdate into the disk eg. using the CommitChanges() method,...
3
by: Bill Davidson | last post by:
All: I recently upgraded a VC++6 COM Server Exe project to VC++7.1 (w/ the latest PSDK). After a couple of minor hurdles, I got the project to compile and self-register. Unfortunately, when...
0
by: victor | last post by:
My hosting company recently upgrade to window 2003 server. The reasearch i have done so far is that 2003 server will use IIS6.0. It is totally different from 2000 server and IIS 5.0 I have...
1
by: Robert Halford | last post by:
On 4th May at 7.45 in the evening my asp.net web sites stopped working on my development server. The page that appears says: Server Application Unavailable The web application you are...
0
by: George | last post by:
my web service works fine on my laptop but when i moved it to the server i get "Server Application Unavailable." i checked the event application log and it shows "aspnet_wp.exe could not be...
2
by: farid25 | last post by:
I have a web application hosted on windows server 2003 "IIS 6,virtual ip", that is used on the local intranet of my company. now i want to access this web application from a real ip PC how can I do...
4
by: SpaceMarine | last post by:
hello, i know this is a common error, and i intend to research it next, but i thought id drop in here first. when i run my ASP.NET project from VS.NET 2005's internal, debug web server, it...
0
by: Crash | last post by:
..NET Framework 1.x, 2.x, 3.x... ASP.NET 5.0, 5.1, 6.0... Windows Server 2000, XP, Server 2003... I am using NAnt & the NAnt contrib library to automate virtual directory maintenance tasks on...
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.