문제

I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I am using publishing portal template.

I am developing using VSTS 2008 + C# + .Net 3.5. I want to develop a WebPart and make some settings configurable (just like we can configure parameter for a console application in app.config) -- i.e. authorized people could set parameters of WebPart in Edit Page (from browser based UI interface), then select -> Modify WebPart properties, or edit parameter in SharePoint Designer.

Such parameter is application specific custom parameters.

Any solutions and referenced samples?

도움이 되었습니까?

해결책

The properties should be built into just about any how to or sample project.

    [WebBrowsable(true), Personalizable(true)]
    public string DefaultText
    {
        get { return defaultText; }
        set { defaultText = value; }
    }

다른 팁

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top