Telerik Forums
UI for WPF Forum
1 answer
213 views
Hello,

I have another UriImageProvider question. I have a series of images that my user can select from (via a drop down). When they select the image they want, I need my RadMap's UriImageProvider to grab the currently selected image information and display the image. Preferably, I would use the Byte Array that I have in memory to build the image on the fly and pass it to the provider. Worse case, I can write it to disk but I would rather avoid this. I can't seem to see a way to do this with Uri="{Binding...}". Any examples out there on how to dynamically change the Uri of the UriImageProvider?


Cheers,
Seth
Andrey
Telerik team
 answered on 06 Dec 2011
3 answers
225 views
Good afternoon.

I have some XAML that worked fine with release 2011.1.502.35, but I want to upgrade to the latest version (2011.3.11.16.0).

Unfortunately, I have a number of GridViews with GridViewDataColumn fields bound to nullable DateTime fields like this -

 

  <telerik:RadGridView.Columns>
    <telerik:GridViewDataColumn DataMemberBinding="{Binding Precedence}" Header="Precedence" IsReadOnly="True" />
    <telerik:GridViewDataColumn DataMemberBinding="{Binding Description}" Header="Description" />
            <telerik:GridViewDataColumn DataMemberBinding="{Binding OffenceFromDate}" Header="From Date"/>
            <telerik:GridViewDataColumn DataMemberBinding="{Binding OffenceToDate}" Header="To Date"/>
            <telerik:GridViewComboBoxColumn ItemsSource="{Binding RelativeSource={RelativeSource AncestorType=Page}, Path=DataContext.Queues}"
                                    SelectedValueMemberPath="OID"
                                    DataMemberBinding="{Binding AllocationQueue}"
                                    DisplayMemberPath="Name"
                                    Header="Assign To Queue"
                                    IsComboBoxEditable="True" />
  </telerik:RadGridView.Columns>           
</telerik:RadGridView>

When I load up a grid containing a row that contains a null value in either OffenceFromDate or OffenceToDate, I'm now getting the following exception -

Telerik.Windows.Controls.GridView.GridViewDataControl.MeasureOverride(System.Windows.Size)

System.NullReferenceException occurred
  Message=Object reference not set to an instance of an object.
  Source=Telerik.Windows.Data
  StackTrace:
       at Telerik.Windows.Data.Expressions.UnboxT`1.NullableField[TElem](Object value) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Core\Data\Expressions\MemberAccess\Unbox.cs:line 39
  InnerException:

Is there any way around this? As I mentioned earlier, the older release was fine with these records.

Thanks for your time.

Paul
Paul
Top achievements
Rank 1
 answered on 06 Dec 2011
1 answer
201 views
When the ItemsSource (ObservableCollection) is empty (Count = 0) calling BeginInsert does cause the AddingNewDataItem event to fire.  This works fine when ItemsSource has at least 1 item.
Maya
Telerik team
 answered on 06 Dec 2011
1 answer
129 views
Is there a way in XAML to bind a property of a filterdescriptor for when it's active or not.  I'd like to define a filterdescriptor in XAML and bind whether or not it's active (i.e. applied to the gridview) to a MVVM property.
Vlad
Telerik team
 answered on 06 Dec 2011
2 answers
377 views
Hi,

Using the GridView definition below I get a Index out of bounds exception. This was working in 2011 Q2 but when I upgraded to Q3 I get this when I launch the application.
Any help would be much appreciated.

Thank you,

Vlad



The GridView:

<Telerik:RadGridView
                    AutoGenerateColumns="False"
                    Name="ItemGrid"
                    Telerik:StyleManager.Theme="{Binding Path=SelectedThemeName}" SelectionMode="Extended">
                    <Telerik:RadGridView.ItemsSource>
                        <Binding Path="CurrentDataSourceViewModelBindingList" Mode="TwoWay"/>
                    </Telerik:RadGridView.ItemsSource>
                    <Telerik:RadGridView.Columns>
                        
<!--                        <Telerik:GridViewMaskedTextBoxColumn
                            Header="Source"
                            DataMemberBinding="{Binding DataSourcePath, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                            Width="*" />
-->

                        <Telerik:GridViewDataColumn
                            Header="Source"                            
                            DataMemberBinding="{Binding DataSourcePath}"
                            Width="*">
                            <Telerik:GridViewDataColumn.CellEditTemplate>
                                <DataTemplate>
                                    <TextBox Text="{Binding Path=DataSourcePath, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
                                </DataTemplate>
                            </Telerik:GridViewDataColumn.CellEditTemplate>
                        </Telerik:GridViewDataColumn>


                        <Telerik:GridViewDataColumn
                            Header="Custodian"                            
                            DataMemberBinding="{Binding Custodian}"
                            Width="*">
                            <Telerik:GridViewDataColumn.CellEditTemplate>
                                <DataTemplate>
                                    <TextBox Text="{Binding Path=Custodian, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
                                </DataTemplate>
                            </Telerik:GridViewDataColumn.CellEditTemplate>
                        </Telerik:GridViewDataColumn>
                    </Telerik:RadGridView.Columns>
                </Telerik:RadGridView>


The Error:

System.ArgumentOutOfRangeException was unhandled by user code
  Message=Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
  Source=mscorlib
  ParamName=index
  StackTrace:
       at System.ThrowHelper.ThrowArgumentOutOfRangeException()
       at System.Collections.Generic.List`1.get_Item(Int32 index)
       at Telerik.Windows.Controls.GridViewColumnCollectionInternal.ColumnFromDisplayIndex(Int32 displayIndex) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\Columns\GridViewColumnCollectionInternal.cs:line 420
       at Telerik.Windows.Controls.GridView.GridViewCellsPanel.InitializeMeasureData() in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\Virtualization\GridViewCellsPanel.cs:line 355
       at Telerik.Windows.Controls.GridView.GridViewCellsPanel.MeasureOverride(Size availableSize) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\Virtualization\GridViewCellsPanel.cs:line 301
       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
       at System.Windows.UIElement.Measure(Size availableSize)
       at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
       at System.Windows.Controls.ItemsPresenter.MeasureOverride(Size constraint)
       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
       at System.Windows.UIElement.Measure(Size availableSize)
       at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
       at System.Windows.UIElement.Measure(Size availableSize)
       at System.Windows.Controls.Control.MeasureOverride(Size constraint)
       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
       at System.Windows.UIElement.Measure(Size availableSize)
       at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
       at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
       at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
       at System.Windows.UIElement.Measure(Size availableSize)
       at System.Windows.Controls.Control.MeasureOverride(Size constraint)
       at Telerik.Windows.Controls.GridView.GridViewRowItem.MeasureOverride(Size constraint) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\Rows\GridViewRowItem.cs:line 214
       at Telerik.Windows.Controls.GridView.GridViewHeaderRow.MeasureOverride(Size availableSize) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\Rows\GridViewHeaderRow.cs:line 189
       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
       at System.Windows.UIElement.Measure(Size availableSize)
       at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
       at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
       at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
       at System.Windows.UIElement.Measure(Size availableSize)
       at System.Windows.Controls.ScrollViewer.MeasureOverride(Size constraint)
       at Telerik.Windows.Controls.GridView.GridViewScrollViewer.MeasureOverride(Size constraint) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\ScrollViewer\GridViewScrollViewer.cs:line 179
       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
       at System.Windows.UIElement.Measure(Size availableSize)
       at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
       at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
       at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
       at System.Windows.UIElement.Measure(Size availableSize)
       at System.Windows.Controls.Border.MeasureOverride(Size constraint)
       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
       at System.Windows.UIElement.Measure(Size availableSize)
       at System.Windows.Documents.AdornerDecorator.MeasureOverride(Size constraint)
       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
       at System.Windows.UIElement.Measure(Size availableSize)
       at System.Windows.Controls.Control.MeasureOverride(Size constraint)
       at Telerik.Windows.Controls.GridView.GridViewDataControl.MeasureOverride(Size constraint) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\GridViewDataControl.cs:line 6969
       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
       at System.Windows.UIElement.Measure(Size availableSize)
       at System.Windows.ContextLayoutManager.UpdateLayout()
       at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
       at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
       at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
       at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
       at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
       at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget)
       at System.Windows.Interop.HwndTarget.OnResize()
       at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
  InnerException:
Vladimir Herisse
Top achievements
Rank 1
 answered on 05 Dec 2011
3 answers
173 views

I'm attempting (with limited success) to create a TreeView that contains a mixture of dynamic and static data.

You'll find my current best attempt at this below, however since I'm nesting TreeViews there is a side effect wherein it is possible to have multiple items within the parent TreeView selected.  When I've tried nesting TreeViewItems the results were not positive, i.e. only the parent level TreeViewItem in the ItemTemplate is displayed and space for it's children is created but nothing is output.

I would really like to know how to acheive my goal without resorting to specifying the entire menu in collections which I bind to the TreeView.

Thank you

<telerik:RadTreeView Width="225" HorizontalAlignment="Left" Background="Transparent" FontWeight="SemiBold">
            <telerik:RadTreeViewItem Header="Customer" Command="{Binding OpenCustomerCommand}"/>
            <telerik:RadTreeViewItem Header="Sites" Command="{Binding OpenSiteBrowserCommand}" ItemsSource="{Binding Sites}">
  
                <telerik:RadTreeViewItem.ItemTemplate>
                    <DataTemplate>
                              
                        <telerik:RadTreeView>
  
                            <telerik:RadTreeViewItem Header="{Binding Key}"
                                Command="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=view:WindowViewBase}, 
                                Path=DataContext.OpenSiteCommand}" 
                                CommandParameter="{Binding Value}">
  
                                <telerik:RadTreeViewItem Header="Material Profiles" 
                                    Command="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=view:WindowViewBase}, 
                                    Path=DataContext.OpenMaterialProfileBrowserCommand}" 
                                    CommandParameter="{Binding Value}"/>
  
                                <telerik:RadTreeViewItem Header="Prices" 
                                    Command="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=view:WindowViewBase}, 
                                    Path=DataContext.OpenPriceBrowserCommand}" 
                                    CommandParameter="{Binding Value}"/>
  
                                <telerik:RadTreeViewItem Header="Orders"
                                    Command="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=view:WindowViewBase}, 
                                    Path=DataContext.OpenOrderBrowserCommand}" 
                                    CommandParameter="{Binding Value}"/>
  
                                <telerik:RadTreeViewItem Header="Activity">
  
                                    <telerik:RadTreeViewItem Header="Collection"
                                        Command="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=view:WindowViewBase}, 
                                        Path=DataContext.OpenActivityCollectionsBrowserCommand}" 
                                        CommandParameter="{Binding Value}"/>
  
                                    <telerik:RadTreeViewItem Header="Call Outs"
                                        Command="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=view:WindowViewBase}, 
                                        Path=DataContext.OpenActivityCallOutBrowserCommand}" 
                                        CommandParameter="{Binding Value}"/>
  
                                    <telerik:RadTreeViewItem Header="Gate"
                                        Command="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=view:WindowViewBase}, 
                                        Path=DataContext.OpenActivityGateBrowserCommand}" 
                                        CommandParameter="{Binding Value}"/>
  
                                    <telerik:RadTreeViewItem Header="One Off Charges"
                                        Command="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=view:WindowViewBase}, 
                                        Path=DataContext.OpenActivityOneOffChargeBrowserCommand}" 
                                        CommandParameter="{Binding Value}"/>
  
                                </telerik:RadTreeViewItem>
  
                            </telerik:RadTreeViewItem>
                        </telerik:RadTreeView>
                    </DataTemplate>
                </telerik:RadTreeViewItem.ItemTemplate>
  
            </telerik:RadTreeViewItem>
Petar Mladenov
Telerik team
 answered on 05 Dec 2011
1 answer
80 views
Can a chart legend be displayed outside of a chart area?  The reason is if i want to show 2 charts side by side and only one legend, the chart that displays the legend will have it's size decreased.  Hope that made sense. Thanks
Evgenia
Telerik team
 answered on 05 Dec 2011
3 answers
241 views
I have implemented the radial gauge and With Databinding I set the max value of the gauge and the value of the needle.
But the controls don't animate from ther orrigen to there new position they just jump.
I have set IsAnimated to true on the needle.
Andrey
Telerik team
 answered on 05 Dec 2011
3 answers
146 views
hello,
i have a class foreach tileViewItem that contains CanEnlarge property, so i'm doing binding for this property with the maximaize icon.
the problem is that if i'm doing double-click on the header i can enlarge it anyway.
what could i do about it?

thanks.
Kiril Stanoev
Telerik team
 answered on 05 Dec 2011
1 answer
192 views
I've got a window that contains a RadSplitButton control in it.  Here's a snippet of the code surrounding the RadSplitButton:

<Window x:Class="CarSystem.AlarmsDialog"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" 
        xmlns:c="clr-namespace:CarSystem"
        xmlns:cc="clr-namespace:CarSystem.CustomControls;assembly=CustomControls" 
        xmlns:tl="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
        Background="Transparent" 
        BorderBrush="Black" 
        BorderThickness="5" 
        Closing="Window_Closing" 
        Foreground="White" 
        HorizontalAlignment="Center"
        Height="890" 
        Icon=". . .
        Loaded="Window_Loaded" 
        ResizeMode="CanMinimize" 
        Title=". . ." 
        VerticalAlignment="Center" 
        Width="890" 
        WindowStartupLocation="CenterScreen" 
        WindowStyle="None">
  
    <StackPanel Background="#FF3C4B66">
  
    . . .
  
                <StackPanel FocusManager.IsFocusScope="true" HorizontalAlignment="Right" Orientation="Horizontal" >
                    <Button Background="{DynamicResource ButtonBackground}" 
                            Click="CorrectButton_Click" 
                            Content="CORRECT" 
                            FontSize="20" 
                            FontWeight="Bold" 
                            Foreground="{DynamicResource ButtonForeground}" 
                            Height="60" 
                            HorizontalAlignment="Right" 
                            Margin="10" 
                            Name="CorrectButton" 
                            Width="156" 
                            VerticalAlignment="Center" />
                    <telerik:RadSplitButton Background="{DynamicResource ButtonBackground}" 
                                            Click="MisreadButton_Click" 
                                            CloseOnEscape="False" 
                                            Content="INCORRECT" 
                                            DropDownIndicatorVisibility="Visible" 
                                            DropDownPlacement="Top" 
                                            FontSize="20" 
                                            FontWeight="Bold" 
                                            Foreground="{DynamicResource ButtonForeground}" 
                                            Height="60" 
                                            HorizontalAlignment="Right" 
                                            Margin="10" 
                                            Name="IncorrectButton" 
                                            Style="{StaticResource RadSplitButtonStyle1}"
                                            VerticalAlignment="Center" 
                                            Width="200">
                        <telerik:RadSplitButton.DropDownContent>
                            <tl:RadContextMenu>
                                <tl:RadMenuItem Header="DEFER (8 hrs)" Click="DeferAlarm_Click" />
                                <tl:RadMenuItem Header="MISREAD" Click="MisreadAlarm_Click" />
                                <tl:RadMenuItem Header="NO PLATE" Click="NoPlate_Click" />
                                <tl:RadMenuItem Header="HL ENTRY EXPIRED" Click="ExpiredHLEntry_Click" />
                                <tl:RadMenuItem Header="WRONG STATE" Click="WrongState_Click" />
                                <tl:RadMenuItem Header="UNKNOWN" Click="Unknown_Click" />
                            </tl:RadContextMenu>
                        </telerik:RadSplitButton.DropDownContent>
                    </telerik:RadSplitButton>
  
                      
                </StackPanel>
            </StackPanel>
  
    . . .
  
    </StackPanel>
</Window>

When the program runs, everything works fine and the window displays without any errors.  But, when I view the window in the Designer panel in Visual Studio 2010, an exception is reported!

Here's the exception that appears instead of the rendering of the window:

 

System.Reflection.TargetInvocationException
  
Exception has been thrown by the target of an invocation.
  
at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Delegate.DynamicInvokeImpl(Object[] args) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
  
  
System.Windows.Markup.XamlParseException
  
Failed to create a 'Path' from the text '(my:RadSplitButton.ToggleContentRotateAngle)'.
  
at System.Windows.Markup.XamlReader.RewrapException(Exception e, Uri baseUri) at System.Windows.FrameworkTemplate.LoadTemplateXaml(XamlReader templateReader, XamlObjectWriter currentWriter) at System.Windows.FrameworkTemplate.LoadTemplateXaml(XamlObjectWriter objectWriter) at System.Windows.FrameworkTemplate.LoadOptimizedTemplateContent(DependencyObject container, IComponentConnector componentConnector, IStyleConnector styleConnector, List`1 affectedChildren, UncommonField`1 templatedNonFeChildrenField) at System.Windows.FrameworkTemplate.LoadContent(DependencyObject container, List`1 affectedChildren) at System.Windows.StyleHelper.ApplyTemplateContent(UncommonField`1 dataField, DependencyObject container, FrameworkElementFactory templateRoot, Int32 lastChildIndex, HybridDictionary childIndexFromChildID, FrameworkTemplate frameworkTemplate) at System.Windows.FrameworkTemplate.ApplyTemplateContent(UncommonField`1 templateDataField, FrameworkElement container) at System.Windows.FrameworkElement.ApplyTemplate() at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV) at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV) at System.Windows.Controls.Grid.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.Grid.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.Control.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.StackPanel.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.StackPanel.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV) at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV) at System.Windows.Controls.Grid.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.StackPanel.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint) at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.Grid.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.Border.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.Control.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Documents.AdornerDecorator.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV) at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV) at System.Windows.Controls.Grid.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.Border.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.Border.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.DockPanel.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.Border.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.Grid.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.Control.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.Border.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at MS.Internal.Designer.ZoomableViewPresenter.DesignerBackground.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at Microsoft.Windows.Design.Interaction.DesignerView.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at MS.Internal.Designer.Viewport.MeasureOverride(Size availableSize) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint) at System.Windows.Controls.ScrollContentPresenter.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV) at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV) at System.Windows.Controls.Grid.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.ScrollViewer.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.Grid.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint) at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.Control.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Interop.HwndSource.SetLayoutSize() at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value) at MS.Internal.DeferredHwndSource.ProcessQueue(Object sender, EventArgs e)
  
  
  
System.Xaml.XamlParseException
  
Prefix 'my' does not map to a namespace.
  
at MS.Internal.Xaml.XamlContext.ResolveXamlType(String qName, Boolean skipVisibilityCheck) at MS.Internal.Xaml.Context.ObjectWriterContext.ServiceProvider_Resolve(String qName) at MS.Internal.Xaml.ServiceProviderContext.System.Windows.Markup.IXamlTypeResolver.Resolve(String qName) at System.Windows.PropertyPath.GetTypeFromName(String name, Object context) at System.Windows.PropertyPath.ResolvePropertyName(String name, Object item, Type ownerType, Object context, Boolean throwOnError) at System.Windows.PropertyPath.ResolvePathParts(ITypeDescriptorContext typeDescriptorContext) at System.Windows.PropertyPath.PrepareSourceValueInfo(ITypeDescriptorContext typeDescriptorContext) at System.Windows.PropertyPath..ctor(String path, ITypeDescriptorContext typeDescriptorContext) at System.Windows.PropertyPathConverter.ConvertFrom(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, Object source) at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateObjectWithTypeConverter(ServiceProviderContext serviceContext, XamlValueConverter`1 ts, Object value) at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateFromValue(ServiceProviderContext serviceContext, XamlValueConverter`1 ts, Object value, XamlMember property) at System.Xaml.XamlObjectWriter.Logic_CreateFromValue(ObjectWriterContext ctx, XamlValueConverter`1 typeConverter, Object value, XamlMember property, String targetName, IAddLineInfo lineInfo)

Does anyone have any explanation for what's going on?  I'm not using the "my" prefix anywhere in my code.

Tony
Petar Mladenov
Telerik team
 answered on 05 Dec 2011
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?