Hi All,
I have been unable to figure out how to pass a GUID value to the Silverlight CSLADataProvider in the Xaml for a UserControl. When I specify a FactoryParameter of type System.Guid in the Xaml as follows:
<
UserControl ... xmlns:system="clr-namespace:System;assembly=mscorlib">I get the following exception when the UserControl loads:
{System.Windows.Markup.XamlParseException: Unknown element: Guid. [Line: 18 Position: 29]
at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
at CeCslaAppPrototype.Page.InitializeComponent()
at CeCslaAppPrototype.Page..ctor()
at CeCslaAppPrototype.App.Application_Startup(Object sender, StartupEventArgs e)
at System.Windows.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)}
I can add a Guid FactoryParameter through code no problem. I can't seem to find any examples of anyone doing this so I'm not sure what is causing the problem. Can anyone shed some light on this?
Thanks!
Richard
Copyright (c) Marimer LLC