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

H

HockeyFan

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?
 
M

Mike

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
474,265
Messages
2,571,069
Members
48,771
Latest member
ElysaD

Latest Threads

Top