How do I to assign a submit event to a clicked image
Posted on 2006-05-21
I want to have an image as a submit rather than the grey submit button. The code that I have for the submit button now is:
private void cmdLogin_ServerClick(object sender, System.EventArgs e)
if (ValidateUser(txtUserName.Value,txtUserPass.Value) )
Do I need to right-click on the image and run it as a server control? How do I assign the piece of code above to that image being clicked?