Solved

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

Posted on 2009-06-29
2
849 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
Comment Utility
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
Comment Utility
This is now sorted.

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

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

771 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

16 Experts available now in Live!

Get 1:1 Help Now