A simple web button question:
How do you make it so that a web button's click event is triggered when
someone hits <enter> on a web form?
i.e. the page has three input boxes on it and a web button. When enter is
pressed, a postback occurs, but no events are triggered. 10 834
Hi
you mean this ????
private void Button1_Click(object sender, System.EventArgs e)
{
Response.Write("<br> <br> Hello <br>");
}
This is in C# i hope it's fine for you
Be sure you are using a WEB SERVER CONTROL
and not an HTML push button.
"Alex B" <no*********@sparmerio.com> wrote in message
news:ea**************@TK2MSFTNGP10.phx.gbl... A simple web button question:
How do you make it so that a web button's click event is triggered when someone hits <enter> on a web form?
i.e. the page has three input boxes on it and a web button. When enter is pressed, a postback occurs, but no events are triggered.
Hi
you mean this ????
private void Button1_Click(object sender, System.EventArgs e)
{
Response.Write("<br> <br> Hello <br>");
}
This is in C# i hope it's fine for you
Be sure you are using a WEB SERVER CONTROL
and not an HTML push button.
"Alex B" <no*********@sparmerio.com> wrote in message
news:ea**************@TK2MSFTNGP10.phx.gbl... A simple web button question:
How do you make it so that a web button's click event is triggered when someone hits <enter> on a web form?
i.e. the page has three input boxes on it and a web button. When enter is pressed, a postback occurs, but no events are triggered.
Alex B wrote: A simple web button question:
How do you make it so that a web button's click event is triggered when someone hits <enter> on a web form?
i.e. the page has three input boxes on it and a web button. When enter is pressed, a postback occurs, but no events are triggered.
Hi. This has been discussed before. Here are some of the discussions in
the past: http://groups.google.com/groups?as_q...&num=100&hl=en
Ben
Alex B wrote: A simple web button question:
How do you make it so that a web button's click event is triggered when someone hits <enter> on a web form?
i.e. the page has three input boxes on it and a web button. When enter is pressed, a postback occurs, but no events are triggered.
Hi. This has been discussed before. Here are some of the discussions in
the past: http://groups.google.com/groups?as_q...&num=100&hl=en
Ben
Hi Alex,
Do you mean an aspx webform button or a html button as in my opinion given
as answer by Ben?
Cor
Hi Alex,
Do you mean an aspx webform button or a html button as in my opinion given
as answer by Ben?
Cor
Thanks Ben! The terms I used to search usenet didn't get me the answer -
however your search terms point to exactly the answer(s) I need --- thanks!!
"Ben Amada" <be*@REpoMOweVErpick.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl... Alex B wrote:
A simple web button question:
How do you make it so that a web button's click event is triggered when someone hits <enter> on a web form?
i.e. the page has three input boxes on it and a web button. When enter
is pressed, a postback occurs, but no events are triggered. Hi. This has been discussed before. Here are some of the discussions in the past:
http://groups.google.com/groups?as_q...&num=100&hl=en Ben
Thanks Ben! The terms I used to search usenet didn't get me the answer -
however your search terms point to exactly the answer(s) I need --- thanks!!
"Ben Amada" <be*@REpoMOweVErpick.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl... Alex B wrote:
A simple web button question:
How do you make it so that a web button's click event is triggered when someone hits <enter> on a web form?
i.e. the page has three input boxes on it and a web button. When enter
is pressed, a postback occurs, but no events are triggered. Hi. This has been discussed before. Here are some of the discussions in the past:
http://groups.google.com/groups?as_q...&num=100&hl=en Ben
Alex B wrote: Thanks Ben! The terms I used to search usenet didn't get me the answer - however your search terms point to exactly the answer(s) I need --- thanks!!
Yeah, it can be a challenge sometimes to come up with the best keywords to
do a search on.
Good luck,
Ben
Alex B wrote: Thanks Ben! The terms I used to search usenet didn't get me the answer - however your search terms point to exactly the answer(s) I need --- thanks!!
Yeah, it can be a challenge sometimes to come up with the best keywords to
do a search on.
Good luck,
Ben This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Matt |
last post by:
I want to understand the difference between submit button and regular
button: <input type="submit"> and <input type="button">. My understanding is
that submit button will send the entire HTML form...
|
by: Skip Hollowell |
last post by:
I am working on a menu bar for a site, and am using buttons in the bar
(because the customer wants to use accessKeys for each selection,
apparently it is too much work to click on them with a...
|
by: TrvlOrm |
last post by:
Can any one please help me...I am new to JavaScript and I have been
struggling with this code for days now and can't figure it out.
I would like to get the Buttons to correspond with the action...
|
by: tshad |
last post by:
I posted this on the asp.net group, also. I wasn't sure whether this was an
asp.net problem or a javascript problem.
I have a page that was originally created from a program I found on the net...
|
by: KK |
last post by:
Hi,
I am using history.go(-1) for implementing the back button
functionality.
Its working fine but with this exception.
1. The page which is having back button has some hyperlinks on it.
...
|
by: Zürcher See |
last post by:
Someone has implemented a Datagrid Button for the Windows.Form?
|
by: jrhoads23 |
last post by:
Hello,
I am trying to find a way to tell if an .NET windows forms Button
(System.Windows.Forms.Button) is "depressed" (pushed down). For my
application, I can not use a check box control set to...
|
by: Colin McGuire |
last post by:
Hi - this was posted last weekend and unfortunately not resolved. The
solutions that were posted almost worked but after another 5 days of
working on the code everynight, I am not further ahead....
|
by: =?Utf-8?B?bWFydGluMQ==?= |
last post by:
Hi, All,
I create button in the code ( Dim Button as new Button), not using button
web component (means not drap button and drop it ont he webform), after that
I try to use button_click event,...
|
by: shashi shekhar singh |
last post by:
Dear sir,
I have a word document file contains text and images, now i have saved it as a web page and wants to display it on browser ,
using ,
string str=directory.getfiles("");...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
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...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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,...
|
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...
| |