Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot post code from asp.net aspx pages.
Message
 
 
To
15/04/2009 14:09:49
General information
Forum:
Level Extreme
Category:
Other
Miscellaneous
Thread ID:
01395029
Message ID:
01395031
Views:
61
>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-usercontrol

Hi 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
Previous
Reply
Map
View

Click here to load this message in the networking platform