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
Free 3 Months



Zone: > NEWSGROUP > Asp.Net Forum > windows_hosting.hosting_open_forum Tags:
Item Type: NewsGroup Date Entered: 7/25/2004 1:35:33 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 53 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
1 Items, 1 Pages 1 |< << Go >> >|
kruvi
Asp.Net User
composite controls & postback7/25/2004 1:35:33 PM

0/0

(I'm afraid my previous post wasn't clear enough...)

Hi all,
I created a composite control, with a public property 'Description' that's a concat of an inner textbox.text & some other string.
In the hosting page - I'm creating a few instances of my new control in a loop , and add them to a 'placeholder'. I want to be able at postback (fired by a submit button on the hosting page) to loop through all of these instances , and concat their 'Description' property.
When trying to do that through myPlaceHolder.controls - the 'controls' collection seems 2b empty. when trying to add these controls to an arrayList (when creating them, in page_init) - it seems that the arrayList is empty too!!!
I couldn't find any help regarding accessing composite controls properties in postback.
Any ideas, please?
Thanks,
1 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Developing Microsoft ASP.NET Server Controls and Components Authors: Nikhil Kothari, Vandana Datye, Pages: 689, Published: 2002
Professional ASP.NET 2.0 Server Control and Component Development Authors: Shahram Khosravi, Pages: 1186, Published: 2006
Programming Microsoft ASP.NET Authors: Dino Esposito, Pages: 1165, Published: 2003
Professional ASP.NET 3.5: In C# and VB Authors: Bill Evjen, Scott Hanselman, Devin Rader, Pages: 1673, Published: 2008
Pro ASP.NET 2.0 in VB 2005: special edition. Authors: Laurence Moroney, Matthew MacDonald, Pages: 1360, Published: 2006
ASP.NET AJAX Programming Tricks Authors: Matthew David Ellis, Matthew Ellis, Pages: 388, Published: 2007
Pro ASP. Net 3. 5 Server Controls and AJAX Components Authors: Rob Cameron, Dale Michalk, Pages: 740, Published: 2008
Inside ASP.NET Authors: Scott Worley, Pages: 704, Published: 2001
Professional ASP.NET 2.0 Authors: Bill Evjen, Scott Hanselman, Farhan Muhammad, Srinivasa Sivakumar, Devin Rader, Pages: 1253, Published: 2005

Web:
Composite Control Postback issue - ASP.NET Forums Re: Composite Control Postback issue. 02-27-2003, 2:14 PM. Contact ... Re: Composite Control Postback issue. 02-28-2003, 12:03 PM. Contact ...
A Crash Course on ASP.NET Control Development: Building Composite ... The first control—the composite control—correctly maintains the assigned text across postback. The second control using Render loses the new text across ...
Composite Controls and the Missing View State So the rule here is, to not only add the Controls within a composite control ... I'm exploring how the viewstate works in a composite control so thank you ...
ViewState not restoring in composite control (ASPNET2) Talk about ViewState not restoring in composite control (ASPNET2) ... Upon postback, the detail control is not retrieving its state from ...
CodeProject: Eventing Within Composite Web Custom Controls. Free ... As there are many examples of simple composite controls, I want to focus on .... so that all the controls will be registered with the framework for PostBack ...
Jonathan's Blog : Composite Controls And ViewState keys Reading some of my daily blogs today, I came across a nice post by Scott Guthrie , talking about Composite Controls. He explained something that I felt was ...
Microsoft ASP.NET QuickStarts Tutorial Developing a Custom (Non-Composite) Control that Handles Postback Data. You authored a simple custom control at the beginning of this QuickStart. ...
OdeToCode Links : Composite Controls and ViewState Composite Controls and ViewState. Scott Mitchell shows the correct way to use CreateChildControls. posted on Sunday, October 10, 2004 8:27 PM by otcnews ...
Composite Controls, eventhandlers and knowing which control caused ... What i need to do in my composite control is to determine which consituent control caused a postback. for example a have a consituent controls with two ...
Managing Viewstate of childcontrols in a composite control - ASP ... Managing Viewstate of childcontrols in a composite control. Last post 06-15-2007 1:04 PM by viscious. 3 replies. Sort Posts: ...




Search This Site:










is this possible?

ads take control automaticaly

advise: i have t1 and shared host

information about web hosting provide

passing parameters to custom server controls

recommend a web host

free hosting - asp.net/sql server 2000

is using impersonation complex if in hosted environment?

readyhosting is teh suck

event not firing inside nested custom web control

determine clientids within a usercontrol's code ?

simple button control

webcontrol presentation at design and runtime ?

id with user controls

how can i convert an ascx control into a dll?

500 errors with www.webhost4life.com, anybody?

absolute positioning

compositedataboundcontrol and performselect

dynamically created control disappearing

where to get a host to practice live

returning custom datagriditem from datagrid

how to add properties for a web user control ( .ascx ) ?

add image to control

search domain

looking for a free asp.net 2.0 webhost

button click not firing the event !!!

stringconverter on property always has context = null

hosting bliss

custom inherited controls

any free asp.net menu control available?

  Privacy | Contact Us
All Times Are GMT