asp.net - SharePoint PublishingWebControl's edit panel rendering with error -


i trying create .ascx control sharepoint. have created new empty asp.net project , have added references of sharepoint dlls, microsoft.sharepoint.dll, microsoft.sharepoint.publishing.dll have registered sharepoint.publishing

<%@ register assembly="microsoft.sharepoint.publishing, version=15.0.0.0, culture=neutral, publickeytoken=71e9bce111e9429c"     namespace="microsoft.sharepoint.publishing.webcontrols" tagprefix="publishingwebcontrols" %> 

now trying add new editmode panel control below

<publishingwebcontrols:editmodepanel id="editmodepanel1" runat="server" pagedisplaymode="display"></publishingwebcontrols:editmodepanel> 

above working fine. if add control in between or if give space between end tag , start tag as

stragely giving me following error. enter image description here reason behind? missing something?


Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -