Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > User Control loading order

Reply
Thread Tools

User Control loading order

 
 
jdn
Guest
Posts: n/a
 
      04-08-2004
If you have multiple User Controls on a page, will they always be loaded in a specific order or is there a bit of randomness involved

TI
jdn
 
Reply With Quote
 
 
 
 
Jeffrey Tan[MSFT]
Guest
Posts: n/a
 
      04-09-2004
Hi jdn,

Based on my understanding, you want to know the load order of
multi-usercontrols on the webform.

For usercontrol, normally, it will be place on the form declaratively
through html view. Then at runtime, the Asp.net will dynamically use
ControlBuilder class to parse these html declaration, and build the control
tree.

So the load order should be the their order in the control tree, while the
ControlBuilder will parse the html view from top to bottom, the load order
should also determined by the order the usercontrols are declared in the
html view. That is: first declared usercontrol will be loaded first.

Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

 
Reply With Quote
 
 
 
 
Jeffrey Tan[MSFT]
Guest
Posts: n/a
 
      04-13-2004
Hi jdn,

Does my reply makes sense to you? Do you still have any concern?

Please feel free to let me know, I will help you. Thanks

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
User Control to Control Other User Control Jonathan Wood ASP .Net 4 02-02-2010 03:41 PM
order of iframe loading with document loading ofir Javascript 0 12-03-2007 12:06 PM
persisting changes to a control outside a user control from the user control? Mad Scientist Jr ASP .Net 0 03-22-2006 08:02 AM
Loading user control when a link is clicked on another user contro =?Utf-8?B?U3JpZGhhcg==?= ASP .Net 1 11-18-2005 03:00 AM
Pass a form value from a user control to parent control - Event Order issues ab_j@flyingrobot.com ASP .Net 0 10-29-2004 05:38 PM



Advertisments