473,386 Members | 1,832 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,386 software developers and data experts.

Bug or problem

hi,

Bug or problem ?
suppose my page consist of 1 textbox and 1 button(server control) and focus
is on textbox and i press enter key ,in normal circumstances the page should
execute the button_click event .but instead it post_back the page ,but
button_click event is not executed

if my page has more than 1 textbox there is no problem

can anyone explain me the reason

--
diamond was just another piece of coal that did well under pressure
Nov 19 '05 #1
4 1015
Is it a Submit button or a Button button?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.

"Anil Rajan" <an********@yahoo.co.in> wrote in message
news:FA**********************************@microsof t.com...
hi,

Bug or problem ?
suppose my page consist of 1 textbox and 1 button(server control) and
focus
is on textbox and i press enter key ,in normal circumstances the page
should
execute the button_click event .but instead it post_back the page ,but
button_click event is not executed

if my page has more than 1 textbox there is no problem

can anyone explain me the reason

--
diamond was just another piece of coal that did well under pressure

Nov 19 '05 #2
its a known bug in IE. you can any of the default button tricks as a
workaround. (google this newgroup for details)

-- bruce (sqlwork.com)

"Anil Rajan" <an********@yahoo.co.in> wrote in message
news:FA**********************************@microsof t.com...
hi,

Bug or problem ?
suppose my page consist of 1 textbox and 1 button(server control) and
focus
is on textbox and i press enter key ,in normal circumstances the page
should
execute the button_click event .but instead it post_back the page ,but
button_click event is not executed

if my page has more than 1 textbox there is no problem

can anyone explain me the reason

--
diamond was just another piece of coal that did well under pressure

Nov 19 '05 #3
My button is a server control

"Kevin Spencer" wrote:
Is it a Submit button or a Button button?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.

"Anil Rajan" <an********@yahoo.co.in> wrote in message
news:FA**********************************@microsof t.com...
hi,

Bug or problem ?
suppose my page consist of 1 textbox and 1 button(server control) and
focus
is on textbox and i press enter key ,in normal circumstances the page
should
execute the button_click event .but instead it post_back the page ,but
button_click event is not executed

if my page has more than 1 textbox there is no problem

can anyone explain me the reason

--
diamond was just another piece of coal that did well under pressure


Nov 19 '05 #4

thanks for your answer work around is okay , i am asking you why the page
has this behavior only when i have 1 textbox (if i have 2 or more textbox
this problem is not present).

"Bruce Barker" wrote:
its a known bug in IE. you can any of the default button tricks as a
workaround. (google this newgroup for details)

-- bruce (sqlwork.com)

"Anil Rajan" <an********@yahoo.co.in> wrote in message
news:FA**********************************@microsof t.com...
hi,

Bug or problem ?
suppose my page consist of 1 textbox and 1 button(server control) and
focus
is on textbox and i press enter key ,in normal circumstances the page
should
execute the button_click event .but instead it post_back the page ,but
button_click event is not executed

if my page has more than 1 textbox there is no problem

can anyone explain me the reason

--
diamond was just another piece of coal that did well under pressure


Nov 19 '05 #5

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

Similar topics

117
by: Peter Olcott | last post by:
www.halting-problem.com
28
by: Jon Davis | last post by:
If I have a class with a virtual method, and a child class that overrides the virtual method, and then I create an instance of the child class AS A base class... BaseClass bc = new ChildClass();...
6
by: Ammar | last post by:
Dear All, I'm facing a small problem. I have a portal web site, that contains articles, for each article, the end user can send a comment about the article. The problem is: I the comment length...
16
by: Dany | last post by:
Our web service was working fine until we installed .net Framework 1.1 service pack 1. Uninstalling SP1 is not an option because our largest customer says service packs marked as "critical" by...
2
by: Mike Collins | last post by:
I cannot get the correct drop down list value from a drop down I have on my web form. I get the initial value that was loaded in the list. It was asked by someone else what the autopostback was...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.