An Unhanded Exception has occurred:In Design View on .net workspace

2 posts, 0 answers
  1. Kasthuri
    Kasthuri avatar
    25 posts
    Member since:
    Aug 2011

    Posted 07 Dec 2011 Link to this post

    Hi,
     Am get this error ie,An Unhanded Exception has occurred in .net 2010 work space.Were I can watch design view in blend. 
    <navigation:Page 
               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:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
               xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" x:Class="NexusMedical.Views.Page2"
               mc:Ignorable="d"
               d:DesignWidth="640" d:DesignHeight="480"
               Title="Page2 Page">
    <navigation:Page.Resources>
    <Style TargetType="ListBoxItem" x:Key="draggableItemStyle">
    <Setter Property="HorizontalAlignment" Value="Stretch" />
    <Setter Property="HorizontalContentAlignment" Value="Stretch" />
    <Setter Property="Foreground" Value="#000000" />
    <Setter Property="telerik:RadDragAndDropManager.AllowDrag" Value="True" />
    </Style>
    <Style TargetType="telerik:RadTileViewItem" x:Key="pinned">
    <Setter Property="Background" Value="#034e76" />
    </Style>


    </navigation:Page.Resources>
        <Grid x:Name="LayoutRoot">


        <Grid Margin="0">
        <telerik:RadTileView ColumnsCount="4"  
        IsItemsSizeInPercentages="True"
        MinimizedColumnWidth="250"
        PreservePositionWhenMaximized="True"
        RowHeight="Auto"
        telerik:TileViewPanel.IsColumnsShrinkEnabled="True"
        telerik:TileViewPanel.IsRowsShrinkEnabled="True"
        telerik:TileViewPanel.IsSizeBoundToPosition="True" Margin="0">
        <telerik:RadTileViewItem Header="RadTileViewItem" RestoredHeight="50"/>
        <telerik:RadTileViewItem Header="RadTileViewItem" RestoredHeight="50"/>
        <telerik:RadTileViewItem Header="RadTileViewItem" RestoredHeight="50"/>
        <telerik:RadTileViewItem Header="RadTileViewItem" RestoredHeight="100"/>
        <telerik:RadTileViewItem Header="RadTileViewItem" RestoredHeight="50"/>
        <telerik:RadTileViewItem Header="RadTileViewItem" RestoredHeight="50"/>
        <telerik:RadTileViewItem Header="RadTileViewItem" RestoredHeight="50"/>
        </telerik:RadTileView>
       

        </Grid>


        </Grid>
    </navigation:Page>

    also i have attached a screen short regarding this.pls do help me.
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 12 Dec 2011 Link to this post

    Hi Kasthuri,

    We managed to reproduce your issue and we logged two bugs in our PITS:
    TileView: Desinger crashes when using RowHeight=Auto and IsItemSizeInPercentages = true

    TileView: InvalidOperationExcetption in thrown in design time in certain situations
     where you are now able to track their status. We also updated your telerik account points as a thanks for your cooperation. You can workaround the InvalidOperationException by setting the RowHeight to some number, for example 150. Hope this is suitable for you.

    Best wishes,
    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
Back to Top