Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Sharepoint 2010 Silverlight Webpart

Posted on 2010-11-19
1
Medium Priority
?
681 Views
Last Modified: 2012-05-10
How do you access the code in this type of webpart that is installed on a Sharepoint farm to edit it?
0
Comment
Question by:Jack_son_
[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
1 Comment
 
LVL 3

Accepted Solution

by:
Nomoho earned 2000 total points
ID: 34225115
Hello,

It is not allowed to edit Microsoft native webparts, but you can create another one or override them (if they are not sealed).

Here is the method:
- go to your webparts galery
- find the file of your webpart you are looking for (.webpart or .dwp)
- click on the button edit
- click "view xml" to download the xml declaration of the webpart
- you have here the assembly and the class name
- use reflector to make a copy of this class and edit it or inherit the class for making overrides (only if the class is not sealed)
- after you have created your new webpart class, deploy it in another .webpart or .dwp

=> Never edit Microsoft native code, just create your own by copying/overriding. It's important to prevent any problems when installing sharepoint updates.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

604 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