>I have tried several times to post code samples from my .aspc pages here on UT, and I wrap them in ' < PRE > ' and '< /PRE >' tags, and I can Preview the message just fine while I an creating the message, but when I try to post it it says the messge has invalid content, or something like that.
>
>Apparently, it does not like all the markup in the code, but tons of other dev sites let us paste html types code in messages without a problem.
>
>It's going to be more of an issue as Silverlight and WPF come along, much less the current usage of ASP.net.
>
>Am I doing something wrong, or is this really a weekness of UT?
>
>Here is a link that shows the code I was trying to post:
>
>
>
http://stackoverflow.com/questions/752935/set-datasource-on-formview-in-a-asp-net-usercontrolHi Matt,
This is the answer I got from Michel about this problem:
---------------------------------------------------------------------------------------------------------------------------------------
This is because of the
< %
syntax. This is blocked at the highest level because of security issue. Simply insert a space between both characters. That will work.
Only the starting tag is necessary to split with a space BTW, not the closing one.
If it's not broken, fix it until it is.
My Blog