Exit Custom Server Control Early

  • Thread starter Thread starter Marc Miles
  • Start date Start date
M

Marc Miles

I have a composite server control whose main entry is the OnLoad method.
During my processing, if an error occurs, I want to halt any further
processing immediately after the error occurs. I'm trying to call
base.PreRender but the control continues processing after the PreRender
method is called.

Is there someway to exit a server control by calling a base method of some
sort?

Marc
 
I should say, "the OnLoad method continues processing even after I have
called PreRender". Its as if I call PreRender, and nothing happens, it
continues to the next line in OnLoad.
 
WOW, nobody has insight on this?

--

Marc Miles said:
I should say, "the OnLoad method continues processing even after I have
called PreRender". Its as if I call PreRender, and nothing happens, it
continues to the next line in OnLoad.
 

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

Back
Top