473,791 Members | 3,216 Online
Bytes | Software Development & Data Engineering Community
+ 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 CompositeContro l 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 CompositeContro l and does all sorts of neat stuff

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

Protected Overrides Sub CreateChildCont rols()
Controls.Clear( )

cntrl_A1= New Cntrl_A()
cntrl_A1.ID = "FirstContr ol"
cntrl_A2= New Cntrl_A()
cntrl_A2.ID = "SecondCont rol"

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 1284

"Electric Co." <jm*****@ucalga ry.cawrote in message
news:11******** *************@i 42g2000cwa.goog legroups.com...
Hello,

I have two questions:

1.) Could I create a custom server control in 2005 in order to leverage
the CompositeContro l 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 CompositeContro l and does all sorts of neat stuff

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

Protected Overrides Sub CreateChildCont rols()
Controls.Clear( )

cntrl_A1= New Cntrl_A()
cntrl_A1.ID = "FirstContr ol"
cntrl_A2= New Cntrl_A()
cntrl_A2.ID = "SecondCont rol"

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
1646
by: Schrodiodo | last post by:
I need some help, please. Alphabetically: BizTalk Server
0
1280
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, iencounter the following error:"The server is unwilling toprocess the request".However this problem will not occur in myADAM instance in windows server 2003. May i know where i have done wrong? Thanks a lot. ----------------------- Posted by a...
3
3323
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 I tried to call into the server from either a VB6 or a VC6 test client, an error occurs at object creation time. Looking at Task Manager, the server .Exe never actually launches.
0
1736
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 noticed the next error message happen to my web site recently %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable. Please hit the...
1
2873
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 attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
0
1588
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 launched because the username and/or password supplied in the processModel section of the config file are invalid". i checked the line in the machine.config in ..\framework\v2.0.50727\CONFIG and the processModel line didnt have a username/password....
2
4361
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 this?? thanks for your help
4
8272
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 works fine. like so: http://localhost:4943/1.0/
0
2454
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 IIS servers with side-by-side installs of ASP.NET. I can automate most IIS tasks using NAnt however - to configure the ASP.NET version for a newly created virtual directory I must manually
0
10428
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10156
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9997
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9030
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7537
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6776
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5435
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3718
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2916
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.