I'm trying to edit a website that's already on IIS, and I don't understand why an event doesn't seem to be compiled when I build the solution. I created the event through the design view in visual studio, but I get the exception that there is no definition for the event declared. The dll file is being updated, as I can see by the modified time it lists, but why is the new codebehind being compiled as well? How can I fix this, because declaring the exact same code in a script section works?
jon4321
0
Newbie Poster
Recommended Answers
Jump to PostYou have most likely created a event in your page code behind but failed to link it to your code behind. It is pretty easy to do in the designer.
For example you might have added a button so it will haveonclick="Button1_Click"
as part of its …
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.