M
Miki Peric
I'm trying to fill web.config file like this:
<SafeControl Assembly="WebPartLibrary1.WebPart1" Namespace="WebPartLibrary1"
TypeName="*" Safe="True"/>
The problem is that I don't know what "assemby" and "namespace" values I
should insert. This is my class:
namespace WebPartLibrary1
{
/// <summary>
/// Description for WebPart1.
/// </summary>
[DefaultProperty("Text"),
ToolboxData("<{0}:WebPart1 runat=server></{0}:WebPart1>"),
XmlRoot(Namespace="WebPartLibrary1")]
public class WebPart1 : Microsoft.SharePoint.WebPartPages.WebPart
{
....
....
....
<SafeControl Assembly="WebPartLibrary1.WebPart1" Namespace="WebPartLibrary1"
TypeName="*" Safe="True"/>
The problem is that I don't know what "assemby" and "namespace" values I
should insert. This is my class:
namespace WebPartLibrary1
{
/// <summary>
/// Description for WebPart1.
/// </summary>
[DefaultProperty("Text"),
ToolboxData("<{0}:WebPart1 runat=server></{0}:WebPart1>"),
XmlRoot(Namespace="WebPartLibrary1")]
public class WebPart1 : Microsoft.SharePoint.WebPartPages.WebPart
{
....
....
....