A TextBox Problem,Maybe some errors

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • huoge

    #1

    A TextBox Problem,Maybe some errors

    When you use a System.Web.UI.W ebControls.Text Box in your
    ..aspx files,if you input a `(which is under the ~),and submit the text,you
    may see some wrong message.
    Why?
    Is some bugs of the TextBox control?


  • Sean

    #2
    Re: A TextBox Problem,Maybe some errors

    I don't have that problem, the page runs correctly

    my code:
    <%@ Page Language="C#" %>

    <script runat=server>

    public void Page_Load(objec t sender, System.EventArg s evt)
    {
    }

    protected void btnTest_Click(o bject sender, EventArgs e)
    {
    txtTest.Text = "1234";
    }

    </script>

    <html>

    <body>
    <form id=frmMain runat=server>
    <asp:TextBox id=txtTest Text="`" runat=server />
    <asp:Button id=btnTest Text="Submit" OnClick="btnTes t_Click" runat=server
    />
    </form>
    </body>


    "huoge" <wulfeng@sina.c om.cn> wrote in message
    news:e5M$EfmUDH A.2012@TK2MSFTN GP10.phx.gbl...[color=blue]
    > When you use a System.Web.UI.W ebControls.Text Box in your
    > .aspx files,if you input a `(which is under the ~),and submit the text,you
    > may see some wrong message.
    > Why?
    > Is some bugs of the TextBox control?
    >
    >[/color]


    Comment

    Working...