On Wed, 25 May 2005 12:00:45 -0500, <ha****@hotmail.com> wrote:
Does anyone ever see this happen.
I build a form with couple of textbox server control. When user inputs
character ` in there, after form post back, the textbox become a line
of string such as <INPUT id=_txtName style="WIDTH: 70%" value=`
name=_txtName>.
I can filter out ` from the inputs, but it seems like a microsoft bug
to me.
Any ideas?
Hmm, doesn't do this for me (v 1.1). .NET will replace double-quotes with
" if needed, to prevent problems in the HTML, otherwise single-quote
works fine, no problems displaying or setting the value.
Can you post the aspx code? For the textbox, and any other special code
you're using on the textbox, outside of just setting its .Text property.
Explain what you're doing in the UI as a user, etc.
Also make sure your HTML in the aspx is valid (all tags properly closed,
etc.)...
--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET