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

android - IllegalStateException: Cannot call this method while RecyclerView is computing a layout or scrolling -

go - serving up pdfs using golang -

how to add preprocess loader in webpack 2 -