Page Process Web User Control

C

cksj

I have webforms that contain a web user control (ascx). The control is a
page header for all of the webforms. In one of the webforms, the data in the
web user control is dependent on the webform. What I would like is for the
webform to complete the postback before rendering the user control. Is there
way for the user control be processed after the webform is complete?

Thanks for any ideas,

Cesar
 
R

Rick Strahl [MVP]

Not directly. All the Page Loading and rendering occurs in a specific
non-mutable order...

You can however override some of the methods of the control that fire much
later in the processing order such as PreRender where the page has done all
logical processing and is ready output content. But this might be too late
in the chain if you need to modify content of the page - depends.

+++ Rick ---



--

Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/wwHelp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,997
Messages
2,570,240
Members
46,830
Latest member
HeleneMull

Latest Threads

Top