|
-
January 3rd, 2003, 03:50 PM
#1
.NET user control
I want to display one user control out of different controls based on the user selection.
If I hide other controls, will hidden control HTML tags be sent to
browser?
If yes, I do not want to send hidden user control to browser, because it will take up rendering time?
Anyone knows how to avoid sending hidden user controls to browser?
Thanks
Srini
-
January 8th, 2003, 05:43 AM
#2
You can do the same way as you do in any programming language. If you don't want something to be printed out you simply do not do this.
A small php example:
PHP Code:
<?
if(...){
?>
html code
<?
}//end if
?>
You can do the same in any language.
__________________
Sincerely,
Serg Dzysyak
AlarIT programmer
http://www.AlarIT.com
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
|