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

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -