473,503 Members | 1,639 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Why wont my "asp:button" do a postback?

I've got a page with an asp:button on it and for some reason, it not
only will not execute the OnClick handler, but it wont even do a
postback. There are no errors, but the button doesn't do anything.
Any ideas of what might be going on and/or to diagnose the problem?

May 29 '07 #1
2 4012
Could we have a look at some of your code so we can help you out?

--Papanii

"HockeyFan" <le**********@gmail.comwrote in message
news:11*********************@m36g2000hse.googlegro ups.com...
I've got a page with an asp:button on it and for some reason, it not
only will not execute the OnClick handler, but it wont even do a
postback. There are no errors, but the button doesn't do anything.
Any ideas of what might be going on and/or to diagnose the problem?
May 29 '07 #2
Yea some code would be good but off the top of my hand make sure you havent
got any validators on your page which are failing and stopping the post
back. Make sure the button has its runat="server" attribute as well.

"Papanii" <pa*******@hotmail.comwrote in message
news:73**********************************@microsof t.com...
Could we have a look at some of your code so we can help you out?

--Papanii

"HockeyFan" <le**********@gmail.comwrote in message
news:11*********************@m36g2000hse.googlegro ups.com...
>I've got a page with an asp:button on it and for some reason, it not
only will not execute the OnClick handler, but it wont even do a
postback. There are no errors, but the button doesn't do anything.
Any ideas of what might be going on and/or to diagnose the problem?
May 29 '07 #3

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

Similar topics

2
5190
by: Mindful_Spirit | last post by:
I'm trying to set up a basic email feed back form like this, and was wondering about some basic configuration settings. I have used code from this website. I have it working just fine. I'm...
1
1867
by: charliewest | last post by:
I am trying use server controls or web controls to simulate the following behavior. I've an image wrapped w/in a link to create a rollover effect as if both elements we're one graphic: <a...
0
963
by: Studio P.M. | last post by:
Dear colleagues, In an usual HTML .aspx tag element such as asp:Button ... /asp:Button, it is reasonable to assume that the TagPrefix "asp:" is the alias of a namespace. Fine. Does anyone know...
6
8216
by: Paul Turley | last post by:
Does anyone have some sample script to "press" a button or image button when the user presses the Enter key? I see this behavior on a lot of web pages but I'm not finding any samples. Thx --...
7
3560
by: Venus | last post by:
Hello, I am trying to generate a dynamic form at runtime and would like to do it using "<asp: ..." form elements as follows Build up the string that is placed somewhere in the HTML code the...
3
2928
by: Olivier Verdin | last post by:
Hi, I am developing a multi-language application in ASP.NET in c#. I am using a file field html control to upload an image. I would like to change the text on the button "browse" that comes...
8
5888
by: David Cameron | last post by:
I noticed that using an HTMLInputRadioButton and specifying a value to be an empty string (""), this is overridden by ASP.Net which set the value of the control to be the same as the ID of the...
5
21716
by: Nick Gilbert | last post by:
Hi, I'm using the asp:Wizard control and on some of the steps, I would only like the user to be able to progess to the next step by clicking an image button. Therefore I would like to be able to...
0
7278
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
7328
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...
1
6991
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7458
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5578
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5013
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3167
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1512
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
736
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.