473,320 Members | 1,990 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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?
Nov 17 '05 #1
1 1023
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" <wu*****@sina.com.cn> wrote in message
news:e5**************@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?

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Mark Johnson | last post by:
The last reply got sort of cutoff. So here again: So for anyone interested, here's the simple regexp patterns for the substitutions required. The textbox control is being 'zoomed' in a popup...
1
by: Amadelle | last post by:
Hi all and thanks in advance for your help, I have a problem with capturing the changed value of a text box in a datagrid. The datagrid is populated based on a dataset and I am using template...
5
by: Mike L | last post by:
This is my first attempt at inheriting a class. I want to inherit textbox class to my derived class ClassNum. ClassNum will override the TextChanged, Leave, KeyPress and Enter methods. So,...
1
by: Amadelle | last post by:
Hi all and thanks in advance for your help, I have a problem with capturing the changed value of a text box in a datagrid. The datagrid is populated based on a dataset and I am using template...
6
by: Rob Shorney | last post by:
Hi, I have a number of text boxes on my web form. when the text is change the serverside event TextChanged gets raised and I do some server side validation. This is fine. However, when the...
3
by: Newcomsas | last post by:
Hello, I'm trying to solve a problem with JS textbox array without success. I have two buttons in my page: PLUS and MINUS; at every click on PLUS a new textbox named 'dear' is generated. So, if...
14
by: teddysnips | last post by:
WINDOWS FORMS I've a form that has a textbox that allows the user to enter a string. On the LostFocus event, the textbox formats the string into a preferred format. However, if the user...
8
by: kimiraikkonen | last post by:
I want to ask how to accept more than "one" values typed into a textbox... For example: If TextBox1.Text = "Google" Then MsgBox("You're RIGHT", vbInformation, "Great") Else : MsgBox("You're...
16
by: John | last post by:
I am looking for VBA code that will work with Access 2003 to enable dragging and dropping a file/folder name from Windows XP Explorer into an Access form's text box. This is a common functionality...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.