?
Solved

The type or namespace name 'ImageClickEventArgs' could not be found

Posted on 2009-06-29
2
Medium Priority
?
880 Views
Last Modified: 2012-05-07
I'd love some help on this one if possible please.
I'm working in ASP.NET 1.1 and C# and have a coposite user control. The user control consists of 10 LinkButtons, each of which has an On_Click handler called changePage.

changePage determines the sender and changes the page accordingley.

When I try to run it I get the following error message:

"The type or namespace name 'ImageClickEventArgs' could not be found (are you missing a using directive or an assembly reference?)"

Could anybody help with this please?
0
Comment
Question by:Loomy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 

Author Comment

by:Loomy
ID: 24734527
In case it helps -
I have the same code in an.aspx page and it works fine - the error only appears when the same code is pasted into a user control.
0
 

Accepted Solution

by:
Loomy earned 0 total points
ID: 24735775
This is now sorted.

Needed to reference: public void changePage(object sender, System.Web.UI.ImageClickEventArgs e)
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses
Course of the Month13 days, 19 hours left to enroll

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question