This is a migrated thread and some comments may be shown as answers.

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

1 Answer 25 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Kasthuri
Top achievements
Rank 1
Kasthuri asked on 07 Dec 2011, 07:23 AM
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.

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 12 Dec 2011, 10:17 AM
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 >>

Tags
TileView
Asked by
Kasthuri
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or