Hello.
I have a problem with the XamWebNumericEditor and XamWebMaskedEditor. If I put one of these controls on my view and run the application, it crashes with the following error:
AG_E_PARSER_BAD_TYPE [Line: 450 Position: 117]
(see attached screenshot).
The code in XAML is quite simple:<igEdit:XamWebNumericEditor Canvas.Left="682" Canvas.Top="57" Text="100" TextWrapping="NoWrap" />
or
<igEdit:XamWebMaskedEditor Canvas.Left="698" Canvas.Top="65" Text="100" TextWrapping="Wrap" Mask="999"/>
System information:OS: Windows 7 Ultimate 32BitSilverlight controls v9.2Expression Studio 3 SP1Language: German
Any ideas what the problem could be?
Ralf
Hi Ralf,
Could you provide some more information, for example:
-which of the two XAML code lines above is at the specified location (line 450)?
-also, if possible, please provide some more of the XAML code, in what container is placed the editor, etc.
Thanks in advance,
Hi Stoimen,
In line 450 of the XAML-file the following code is found:
<igEdit:XamWebNumericEditor Canvas.Left="682" Canvas.Top="57" Text="100" TextWrapping="NoWrap" />
The page is structured as followes:
<Border> <Canvas> <igEdit:XamWebNumericEditor /> </Canvas></Border>
So the editor conttrol resides on a canvas within a border. I need a canvas because I have a lot of controls (textblock and textbox). A grid with the corresponding rows and columns would drive me nuts;-) A canvas is much easier for me to handle. I don't hope that the border or canvas is causing the problem.