|
-
Sep 19th, 2003, 11:29 AM
#1
Thread Starter
Addicted Member
How do I get a usercontrol to get the page to stop?
I want to write a usercontrol that when certain conditions are true, it tells the page to stop generating content and flush.
How do I do that?
If I use the Response Object, it Flushes and Ends before any content is rendered.
Example (really abstract)
Page 1 has an image, then, the usercontrol, then six more images.
If condition is true, then I want Page1 to render the 1st image, the usercontrol, and all the other images after that.
If condition is false, then I want Page1 to render the first image, then the usercontrol and stop.
Any ideas?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|