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: 11/30/2005 9:52:22 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 42 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
WhatThe12
Asp.Net User
Postback data not loaded11/30/2005 9:52:22 PM

0/0

Hi,

I have called EnsureChildControls() in an override of OnInit within a control which has called RegisterRequiresPostBack();

Then in the LoadPostData() implementation of the control, the child controls exist but their postback data has not been loaded. It is however loaded futher in the page life cycle.

Does anyone care to enlighten me to the impossibly inifinite complexities of the page life cycle?

Cheers, WT.

Web dev - spending forever achieving nothing.
WhatThe12
Asp.Net User
Re: Postback data not loaded12/1/2005 12:28:55 AM

0/0

Oh its because the child controls are radion buttons and they also call 'RegisterRequiresPostBack' so they're not necessarily processed first.
Web dev - spending forever achieving nothing.
WhatThe12
Asp.Net User
Re: Postback data not loaded12/1/2005 12:57:12 AM

0/0

Am I the only one that finds it inconvenient that there's no where in the page life cycle for a composite control to 'calculate' its own state from the state of its child controls after they've been created and had their postback data loaded but before the postback event has been raised?

There ought to be an event in the page life cycle called 'OnProcessPostbackDataComplete' or something that's called after each of the calls to 'ProcessPostbackData'.

You can't really do this is in OnLoad because if the composite control is loaded dynamically at OnLoad then its children won't have their postback data loaded until after OnLoad.
Web dev - spending forever achieving nothing.
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Professional ASP.NET 1.0: Updated and Tested for Final Release of ASP.NET V.1.0 Authors: Richard Anderson, Alex Homer, Dave Sussman, Karli Watson, Pages: 1354, Published: 2002
Developing Microsoft ASP.NET Server Controls and Components Authors: Nikhil Kothari, Vandana Datye, Pages: 689, Published: 2002
Essential ASP. NET with Examples in C#: With Examples in C# Authors: Fritz Onion, Pages: 393, Published: 2003
Pro ASP.NET 2.0 Website Programming Authors: Damon Armstrong, Pages: 641, Published: 2005
Building a Web 2.0 Portal with ASP.NET 3.5: None Authors: Omar AL Zabir, Pages: 308, Published: 2007
Programming ASP.NET: Building Web Applications and Services with ASP.NET 2.0 Authors: Jesse Liberty, Dan Hurwitz, Pages: 930, Published: 2005
Beginning ASP.NET 1.1 with VB.NET 2003 Authors: Chris Ullman, John Kauffman, Chris Hart, David Sussman, Pages: 888, Published: 2003
Beginning ASP.NET 1.1 with Visual C# .NET 2003 Authors: Chris Ullman, John Kauffman, Chris Hart, Dave Sussman, Daniel Maharry, Pages: 888, Published: 2004
Moving to ASP.NET: Web Development with VB.NET Authors: Steve Harris, Rob Macdonald, Pages: 739, Published: 2002
Professional ASP.NET 2.0 Authors: Bill Evjen, Scott Hanselman, Farhan Muhammad, Srinivasa Sivakumar, Devin Rader, Pages: 1253, Published: 2005

Web:
Error loading postback data - DNNMasters Content Builder Pro - www ... Oct 5, 2007 ... All send errors! He is not compatible with this version DNN? ... InnerException: Error loading postback data: System. ...
ASP.NET Life Cycle - 'Load Postback Data' not working - ASP.NET Forums NET Life Cycle - 'Load Postback Data' not working ... Loading... vivek_iit; Joined on 06-18-2006, 6:13 PM; New Delhi; Posts 3077 ...
15 Seconds : The ASP.NET Page Life Cycle This ensures data in another control is not manually altered during the RaisePostDataChanged event before it is updated with postback data. ...
Loading Postback data for a composite control : postback ... Keywords: Loading Postback data for a composite... Title, Zone. 1, Postback not firing for OnSelecedIndexChanged for a Listbox in asp.… ASP.Net Programming ...
TheMSsForum.com >> Asp >> Postback data - The Microsoft Software Forum Oct 23, 2008 ... Paul G Software engineer. Tag: Postback data Tag: 528537 ... Otherwise, it was not loading the website. My next step was to create a ...
ASP.NET Page Life Cycle & Common Events If the current request is a postback,. the postback data has not yet been loaded and control property values have not been restored ...
Postback data problem - ASP Free Visit ASP Free to discuss Postback data problem. ... This results in the whole page loading again, which is not what is desired here. ...
Control Execution Lifecycle If your control participates in postback data processing you must implement ... For example, CreateChildControls can be invoked when loading a page, ...
Loading UserControl Dynamically in UpdatePanel If your usercontrol includes any TextBoxes or other controls with postback data, you will not be able to use these values immediately in the Page_Load. ...
AJAX Calendar on Postback, data deleted - ASP.NET Forums Re: AJAX Calendar on Postback, data deleted ... since you are populating the textbox dynamically, it will not be stored in the textboxes. ...




Search This Site:










simple user control question

control properties problem (urgent)

please, help to choose web hosting

checkboxs dinamics...

design time

examples of using controlbuilder

system explore control

ultima hosts problems

seperatortemplate

readonly property

csharp to vb.net conversion problem

explorer bar

retrieving click events from a compositional custom control

postback blues

feedback sought on ad upgrade methodology for large-ish domain

find all the controls placed according to the tabindex set at design time of the page.

server collection control

got hacked ???

composite control event problem

binding a composite control property to null data -- casting problem

web user control - persisting state accross postback

routing table quandry

postback data handler problem

hosting database folder - too many options?

how to implement skinning using a style path property?

property to run an exe

binding data to a custom control

custom control class name?

custom control using controlbuilder

can help me how to solve my a little complex control???

  Privacy | Contact Us
All Times Are GMT