Ok, newbie question here...
I have a form with two submit buttons, each required to fire a different event.
Basically the form loads, some data is input by the user, and the first submit button is clicked. The btnSubmit.OnClick event runs and if it meets some condition, a gridview is displayed, and user is asked to confirm their selection before proceding. That's when btnConfirm.OnClick needs to run.
But it won't compile and I get the error...
error BC30506: Handles clause requires a WithEvents variable defined in the containing type or one of its base types.
I don't particularly want to post to another page - I'd like to keep it all on a single page.
View Complete Post