TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Anele Ngqandu
NA
19
38.6k
Error using onnextbuttonclick event on code behind
Oct 19 2011 3:15 PM
HI guys
I have a wizard control now i need to put some code behind the "next" button and am using onnextbuttonclick="OnNextButtonClick"
<
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?)"
Reply
Answers (
1
)
Dropdownlist selectedvalue always null while changing dynamically in c#code !h
How to make a image a link