I need to extend the features of image viewer webpart in my visual studio 2010 project. Which namespace i have to use to get it?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can find the class by looking in the .dwp and .webpart files that are in your Site’s Web Part Gallery. That’s how SharePoint knows which class and assembly to load. In particular, the image web part uses the class Microsoft.SharePoint.WebPartPages.ImageWebPart
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webpartpages.imagewebpart.aspx#Y200
What is unfortunate for you is that class is sealed and thus you can’t extend it.