By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,984 Members | 1,386 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,984 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.