Solved

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

Posted on 2009-06-29
2
852 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

911 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now