我正在尝试使用 jquery.html() 来更改 div 的内容。它可以识别
<SPSWC:ProfilePropertyLoader id="m_objLoader" LoadFullProfileOfCurrentUser="true" runat="server"/>
但它无法识别
<SPSWC:ProfileBrowser webpart="true" runat="server" __WebPartId="{DCD5C686-342C-46C6-AD85-B2C2D27A6EAF}">
我已经注册了以下内容:
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="SPSWC" Namespace="Microsoft.SharePoint.Portal.WebControls" Assembly="Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
但是组织浏览器不会被识别,而在其他页面中它很好。
然后我用
<object type="application/x-silverlight" data="data:application/x-silverlight," id="ProfileBrowserSilverlightControl" width="100%" height="100%">
<param name="top" value="30">
<param name="enableHtmlAccess" value="true">
<param name="source" value="/_layouts/ClientBin/hierarchychart.xap">
<param name="initParams" value="username",User,ctl00_m_g_9d50a31d_3b6b_47c5_809c_cf68c257eb9b_ctl00">
<param name="windowless" value="true">
<param name="onLoad" value="__slEvent0">
出现了一些东西,但在 Fiddler 中,没有查询请求
SilverlightProfileService.json/GetUserSLProfileData
这通常效果很好。
有人有线索吗?
谢谢!