R
Richard Frenkel
In scripting languages such as PHP and ColdFusion, it is easy to
conditionally include a block of html using something like
(pseudocode):
<if x=true>
This is some <b>random html<b>
that gets displayed if x is true and not otherwise
</if>
I've been coding using c# and asp.net and find it impossible to do the
same thing on asp.net pages. I don't need the html block parsed, so 2
passes aren't needed (although that would be nice).
conditionally include a block of html using something like
(pseudocode):
<if x=true>
This is some <b>random html<b>
that gets displayed if x is true and not otherwise
</if>
I've been coding using c# and asp.net and find it impossible to do the
same thing on asp.net pages. I don't need the html block parsed, so 2
passes aren't needed (although that would be nice).