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



Zone: > NEWSGROUP > Asp.Net Forum > windows_hosting.hosting_open_forum Tags:
Item Type: NewsGroup Date Entered: 10/21/2004 5:13:26 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 35 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
spiralstairs99
Asp.Net User
control reference and createchildcontrols10/21/2004 5:13:26 PM

0/0

If i have a control that uses the overrides createchildcontrols(). if i set a public reference in there like so:

public somecontrol.class one = new somecontrol.class();

protected override void CreateChildControls()
{}

i created another control that i want to use the somecontrol.class in and it also overrides the createchildcontrols(). if i reference the first control in the second one to use it's instance of the somecontrol.class object, will it reinitiate the createchildcontrols() call and double up on the controls in the parent page?
llangleyben
Asp.Net User
Re: control reference and createchildcontrols10/21/2004 9:20:54 PM

0/0

Hi,
Sorry, I failed to follow your question. Can you post skeleton code?


Leon Langleyben

MCSD, ASP.NET MVP

Blog
bmains
Asp.Net User
Re: control reference and createchildcontrols10/22/2004 5:31:01 PM

0/0

If you override the functionality, I would think that it wouldn't. Because it is overriding that functionality, you make a call to MyBase.CreateChildControls() to implement the base class functionality.

Brian
Brian

"Trust in the Lord and do what is good; dwell in the land and live securely. Take delight in the Lord, and He will give you your heart's desires" (Psalm 37: 3-4).
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
ASP.NET AJAX Programmer's Reference: With ASP.NET 2.0 Or ASP.NET 3.5 Authors: Shahram Khosravi, Pages: 1522, Published: 2007
Pro ASP. Net 3. 5 Server Controls and AJAX Components Authors: Rob Cameron, Dale Michalk, Pages: 740, Published: 2008
Microsoft Sharepoint: Building Office 2007 Solutions in VB 2005 Authors: Scot P. Hillier, Pages: 552, Published: 2007
Designing Microsoft ASP.NET Applications Authors: Douglas J. Reilly, Pages: 402, Published: 2001
Professional Web Parts and Custom Controls with ASP.NET 2.0 Authors: Peter Vogel, Pages: 449, Published: 2005
ASP.NET AJAX Programming Tricks Authors: Matthew David Ellis, Matthew Ellis, Pages: 388, Published: 2007
Professional ASP.NET 3.5: In C# and VB Authors: Bill Evjen, Scott Hanselman, Devin Rader, Pages: 1673, Published: 2008
ASP.NET by Example Authors: Steven A. Smith, Pages: 527, Published: 2002
Pro ASP.NET 2.0 Website Programming Authors: Damon Armstrong, Pages: 641, Published: 2005

Web:
control reference and createchildcontrols - ASP.NET Forums i created another control that i want to use the somecontrol.class in and it also overrides the createchildcontrols(). if i reference the first control in ...
null Page reference in a Page control's CreateChildControls ... null Page reference in a Page control's CreateChildControls(). Last post 11-17- 2008 6:55 PM by nbarger23. 0 replies. Sort Posts: ...
Control.CreateChildControls Method (System.Web.UI) Override CreateChildControls to create the control tree. Control.CreateChildControls Method (System.Web.UI) Override CreateChildControls to create the control tree. Why ViewState/ControlState Loaded After CreateChildControls ... Feb 1, 2007 ... after the control's "CreatechildControls" be called. ... available until after I build a constituent control. Thanks for the reference. ...
What is the purpose of CreateChildControls()? I'm coding a custom server control, and CreateChildControls() is giving me some pain. ... Hi Michael, Here's a good reference for this: ...
.NET 2.0 Composite Control properties aren't accessible I've tried to reference the DDL directly (from the control's DDL ... defined here 1st--BEFORE the call to CreateChildControls() is made. ...
About CreateChildControls() Trying to implement an composite control, I OverRide CreateChildControls(), where I add my controls, dinamicaly. I try to ad an System.Web. ...
MSDN How access to hidden contros added in createchildcontrols ... To reference the control from JavaScript you need to concatenate the ... I created a webpart. then in the createchildcontrols i added a hidden control: ...
"Object reference not set to instance of object" with ... Programmer's Symposium "Object reference not set to instance of object" with HtmlInputFile custom control. Closed Topic Closed ...




Search This Site:










sending delaying mails

input data from a textbox to different tables in the database

advice needed on building .net ecommerce site with visual web developer

download more schemes for gridview auto format??

how many ways r there that you can save session.

what is the flaw here?

a class html document

a question about deploying

vs.net setup project

parsing static html pages

contact form

listbox items, haven't you died?

pulling a variable from a conf page

requesting a cookie and putting into a textbox

asp.net help

importing external file such as site.htm, site.aspx.

any whidbey beta hosters available

why after upload can't work?

sha algorithm in asp.net

how to setup a debug.log using system.diagnostics?

resource not found after compiling!

cdonts newbie

variables

variables not holding value

regular expression to validate a text box

dealing when object in session is null

disabling a text box control so no input is allowed

refresh page after every run

hi, i'm new, and i need help!!!

simple dictionary question

  Privacy | Contact Us
All Times Are GMT