AG_E_PARSER_BAD_TYPE error when using DataForm control in Prism/silverlight 3
-
23-08-2019 - |
Question
I'm using prism and SL3, as soon as I drop a DataForm Control in any modules, I get this error:
AG_E_PARSER_BAD_TYPE [Line: 6 Position: 31]
at System.Windows.Application.LoadComponent(Object component, Uri
resourceLocator)
at HelloWorldModule.Views.HelloWorldView.InitializeComponent()
at HelloWorldModule.Views.HelloWorldView..ctor()
I don't get this error if I drop the DataForm control in my Shell.xaml, only if I drop in any views in the modules. Can anyone shed some light?
Solution
You need to add Microsoft.Windows.Controls to your ModuleManifest.xaml..
OTHER TIPS
Yes...you need to add reference of the dll. It worked for me.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow