- Create a new Sharepoint Project
- In this project include a New webpart
- Note the namespace and the public class used in this new webpart
ie:
namespace Target2010c.Target2010
{
[ToolboxItemAttribute(false)]
public class Target2010 : WebPart
{
protected override void CreateChildControls()
{
}
}
}
- Using a editor edit your original code and replace your namespace and public class by the newly created.
- Paste your edited code in the new webpart
- Et voila
Worked for me
No hay comentarios.:
Publicar un comentario