Just to resurect this thread:
I need to create a CellTemplate in code, because the binding is dynamic and i don't know the value at design time. So i do the following:
But i get an error which says that there is an "invalid character in qualified name. [at line1 position 15]" when assigning via '
col.CellTemplate = (DataTemplate)XamlReader.Load(CellTemp.ToString());
'
Where is the error?
Kind Regards,
Michael