V
vdex42
Apologies if this has been asked before, but I haven't been able to
find the answer to this yet:
My problem is that .NET will not allow me to insert escaped '>'
characters (i.e. >
within the text property of asp buttons, it
seems to strip out only those type of characters, because other escape
codes DO work (eg. "e
For example
<asp:button Runat=server text="test >" ID=txtTest></asp:button>
Incorrectly produces:
<input type="submit" name="txtTest" value="test >" id="txtTest" />
But
<asp:button Runat=server text="test "" ID=txtTest></asp:button>
Correctly produces
<input type="submit" name="txtTest" value="test "" id="txtTest" />
I have tried to hack it to get my desired output, by inserting &gt;
but & is one of the codes it DOES keep, and faithfully renders
&gt; instead of > !
Has anybody found a workaround for this? or is there a fix for this?
(I am using the v1.1.4322 Framework)
find the answer to this yet:
My problem is that .NET will not allow me to insert escaped '>'
characters (i.e. >
seems to strip out only those type of characters, because other escape
codes DO work (eg. "e
For example
<asp:button Runat=server text="test >" ID=txtTest></asp:button>
Incorrectly produces:
<input type="submit" name="txtTest" value="test >" id="txtTest" />
But
<asp:button Runat=server text="test "" ID=txtTest></asp:button>
Correctly produces
<input type="submit" name="txtTest" value="test "" id="txtTest" />
I have tried to hack it to get my desired output, by inserting &gt;
but & is one of the codes it DOES keep, and faithfully renders
&gt; instead of > !
Has anybody found a workaround for this? or is there a fix for this?
(I am using the v1.1.4322 Framework)