Ask a Question related to ASP.NET General, Design and Development.
-
huoge #1
A TextBox Problem,Maybe some errors
When you use a System.Web.UI.WebControls.TextBox 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?
huoge Guest
-
Problem in saving value of a textbox into a variable
I have a problem in saving value of textbox1 and RadioButtonList1 into a variable so that i can insert a rec in the table.....following is the HTML... -
Get textbox value from datagrid problem
Hi, could you please tell me what is wrong with this piece of code. I have a DataGrid, and I would like to know the value of a textbox field, and... -
Problem with textbox in template column and databind
I am having a problem with the datagrid and a template column that is giving me fits. In the HTML, I have the grid defined at design time as just... -
Nice textBox w/built in validation problem
Attached is an article on how to create a textbox control with built in validation. See... -
Problem with TextBox w/TextMode = password
I can't seem to programatically assign a textBox server control when TextMode=Password, why is this? -
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(object sender, System.EventArgs evt)
{
}
protected void btnTest_Click(object 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="btnTest_Click" runat=server
/>
</form>
</body>
"huoge" <wulfeng@sina.com.cn> wrote in message
news:e5M$EfmUDHA.2012@TK2MSFTNGP10.phx.gbl...> When you use a System.Web.UI.WebControls.TextBox 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 Guest



Reply With Quote

