Click here to Skip to main content
15,913,773 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI guys

I have a wizard control now i need to put some code behind the "next" button and am using onnextbuttonclick="OnNextButtonClick"

HTML
<script  runat="server"  type="text/javascript">
     void OnNextButtonClick(object sender, WizardNavigationEventArgs e)
     {
         string fullname = txtFirstName.Text + " " + txtSurame.Text;
         txtEmpFullname.Text = fullname;
     }     
   </script>


to work with the "next" button...

Is the a way i can use this event "OnNextButtonClick(object sender, WizardNavigationEventArgs e)"
on my code behind page with out using javascript?? Because now the javascript is on my client side.

I get this error when am using the event on code behind "Compiler Error Message: CS1061: 'ASP.administration_frmemployee_aspx' does not contain a definition for 'OnNextButtonClick' and no extension method 'OnNextButtonClick' accepting a first argument of type 'ASP.administration_frmemployee_aspx' could be found (are you missing a using directive or an assembly reference?)"
Posted
Updated 19-Oct-11 9:08am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900