Solved

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

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

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…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

785 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