Button doesn't post back/click code doesn't run

  • Thread starter Thread starter VB Programmer
  • Start date Start date
V

VB Programmer

For some reason all of a sudden my button on my webform doesn't run it's
code. I have checked that the "runat=server" and that the "Handles
cmdButton.click" is at the end of the sub. Any ideas? (Using 2.0)

Here's part of my html...
:
:
</table><br />
<asp:Button ID="cmdSave" runat="server" Text="Save Profile" />
</asp:Content>

Here's the sub definition...
Protected Sub cmdSave_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles cmdSave.Click

Any ideas?

Thanks!
 
Never mind. It turns out after I put a validation summary on the form it
revealed the problem.
 

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

Back
Top