你好我正在嘗試添加我的用戶控件而不是EditForm.aspx(使用sharepoint 2007)我添加了一個新的aspx頁面並註冊了我的dll。但現在我不知道如何繼續。 另外在我的項目中,我有一個cs文件,其中包含以下代碼。 public class SkillEditReg:WebPart { private Control _MyUserControl;在設計器中添加用戶控件而不是EditForm.aspx
protected override void CreateChildControls()
{
base.CreateChildControls();
_MyUserControl =
this.Page.LoadControl(@"~/_controltemplates/MySkill/EditSkill.ascx");
this.Controls.Add(_MyUserControl);
}
一個我試圖將其註冊爲特徵我元件編號所裝配以下鏈接 http://fusionovation.com/post/2008/09/18/how-to-add-a-custom-user-control-to-a-sharepoint-page.aspx 我已經把GUID ID的功能ID ..和publictoken。 而在contolId的設計師,我已經把用戶控件name..But實在不行.. 請幫助
檢查了這一點..不知道它的正確方式.. – Zeba