asp.net - Add a WebPart to an Application page -
i have "data view web part" created sharepoint designer. added web part visual studio project "web part" . want know how add together web part application page.
hi know kind of late but, today had same thing, followed great reply on sharepoint.stackexchange.com. adding other asp.net command on aps.net page.
first need define prefix assembly
<%@ register tagprefix="prefix" namespace="namespaceofthewebpart" assembly="fullassemblyname" %>
ex:
<%@ register tagprefix="csm" namespace="mysolution.visualwebpart" assembly="mysolution version=1.0.0.0, culture=neutral, publickeytoken=335eef5f6f60e56b" %>
and add together web part page (on main place holder) using required attributes asp.net (id , runat).
<prefix:webpartclassname id="id" runat="server" />
the thing won't able edit page , modify web part through browser, if need modify other property of web part have html or code behind.
here url of link followed: http://sharepoint.stackexchange.com/questions/26508/is-it-possible-to-add-web-parts-to-an-application-page
i hope helps.
asp.net sharepoint web-parts sharepoint-designer dataviewwebpart
No comments:
Post a Comment