开发者

System.Windows.FrameworkElement.Style

开发者 https://www.devze.com 2023-04-08 23:59 出处:网络
got an exception when i call a silverlight xap in sharepoint. Hope anybody can help me out this problem. Here the exception:

got an exception when i call a silverlight xap in sharepoint. Hope anybody can help me out this problem. Here the exception:

Message: Unhandled Error in Silverlight Application Set Property 'System.Windows.FrameworkElement.Style' threw an exception. [Line: 84 Position: 335] at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator) bei Project.MainPage.InitializeComponent() bei Project.MainPage..ctor(String eldoradoUrl, String eldoradoUser) bei Project.App.Application_Startup(Object sender, StartupEventArgs e)

bei MS.Internal.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args) bei MS.Internal.JoltHelpe开发者_C百科r.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)

And here is the xaml code line where the error supposed:

<fseld:EldoradoDocCreationView x:Name="ProtoEldoradoDocCreationView" Grid.Row="0"
   MaxColumnCount="2" FieldMargins="34 5 5 5" 
   RestrictToProperties="ProcedureName, FileItemText"
   CurrentItem="{Binding ProtoEldoradoDoc}" CommandButtonsVisibility="None"
   Margin="25,18,47,0" FontSize="10" Height="69" VerticalAlignment="Top" />

Thanks for your replies in advance !


Does your Silverlight XAP work outside of Sharepoint? If no first correct the error outside, you will easier isolate the problem and may get more detailed exception information.

If it does work without Sharepoint then rather look at external assemblies that could contain styles that are not found in this context.

0

精彩评论

暂无评论...
验证码 换一张
取 消