467,886 Members | 1,820 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,886 developers. It's quick & easy.

Exit Custom Server Control Early

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
Nov 19 '05 #1
  • viewed: 928
Share:
2 Replies
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.

--

"Marc Miles" <em***@email.com> wrote in message
news:dd**********@gnus01.u.washington.edu...
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

Nov 19 '05 #2
WOW, nobody has insight on this?

--

"Marc Miles" <em***@email.com> wrote in message
news:dd**********@gnus01.u.washington.edu...
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.

--

"Marc Miles" <em***@email.com> wrote in message
news:dd**********@gnus01.u.washington.edu...
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


Nov 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by lallous | last post: by
1 post views Thread by Wannabe_Geek | last post: by
5 posts views Thread by | last post: by
11 posts views Thread by Nick Gilbert | last post: by
39 posts views Thread by mathieu | last post: by
4 posts views Thread by =?Utf-8?B?UmljaEI=?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.