Posted 19 September 2017, 11:10 am EST
Hi,
Hit a little problem whilst parsing XAML from a database. The element contains a number of controls which all load and display fine - until I drop in a DataGrid (or FlexGrid) at which point it errors with the following.
Cannot create unknown type '{http://schemas.componentone.com/winfx/2006/xaml}C1DataGrid'.'
My header section for the element contains the following,
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml"
If I copy the element (with DataGrid) directly into the target window of the application it displays and executes fine; only appearing to error when I parse from a string.
Unfortunately I have to load the XAML from a database as the application requires a variety of layouts.
I am using the controls from the Demo download. Perhaps related?
Thank you.