This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi, I have the problem that simply adding a Chart to a standard phone page crashes the Expression Blend design surface. The error in question is the always obtuse AG_E_PARSER_BAD_PROPERTY_VALUE exception. The xaml I need to add to the page to create the error is
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"> <charting:Chart> </charting:Chart> </Grid> Cheers |
|
|
Hello Every thing is working fine at my end. Could you please send all the xaml for the whole page. - Jason |
|
|
The steps were
The xaml is
<phone:PhoneApplicationPage xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone" xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:charting="clr-namespace:Mindscape.PhoneElements.Charting;assembly=Mindscape.PhoneElements" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="800" x:Class="Client.TestView" FontFamily="{StaticResource PhoneFontFamilyNormal}" FontSize="{StaticResource PhoneFontSizeNormal}" Foreground="{StaticResource PhoneForegroundBrush}" Orientation="Portrait" shell:SystemTray.IsVisible="True">
<!--LayoutRoot is the root grid where all page content is placed--> <Grid x:Name="LayoutRoot" Background="Transparent"> <Grid.RowDefinitions> <RowDefinition Height="Auto"/> <RowDefinition Height="*"/> </Grid.RowDefinitions>
<!--TitlePanel contains the name of the application and page title--> <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28"> <TextBlock x:Name="ApplicationTitle" Text="MY APPLICATION" Style="{StaticResource PhoneTextNormalStyle}"/> <TextBlock x:Name="PageTitle" Text="page name" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"/> </StackPanel>
<!--ContentPanel - place additional content here--> <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"> <charting:Chart>
</charting:Chart> </Grid> </Grid> </phone:PhoneApplicationPage> |
|
|
Thanks I have found the cause of the exception and a fix for this will be available through the nightly builds from tomorrow the 29th of April. You can get the trial copy of the nightly builds from here: http://assets.mindscape.co.nz/Trial/Nightlies/20110427/PhoneElementsTrial-20110427.msi or go to your account page if you are a customer: http://www.mindscapehq.com/store/myaccount Regards |
|