This question is locked. New answers and comments are not allowed.
Hello,
I'm having issues setting up a radgrid in my silverlight application, below is the stacktrace of the exception:
at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
at System.Windows.UIElement.UpdateLayout()
at Telerik.Windows.Controls.PopupWrapper.AdjustPopupLocation()
at Telerik.Windows.Controls.PopupWrapper.OnPopupOpened(Object sender, EventArgs e)
at MS.Internal.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)
And here is my entire xaml file:
Any Suggestions? I'm not getting any binding errors so you should be able to ignore all of my binding expressions. The exception gets thrown when I click on any of the filter buttons.
Thanks,
Aaron
I'm having issues setting up a radgrid in my silverlight application, below is the stacktrace of the exception:
at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
at System.Windows.UIElement.UpdateLayout()
at Telerik.Windows.Controls.PopupWrapper.AdjustPopupLocation()
at Telerik.Windows.Controls.PopupWrapper.OnPopupOpened(Object sender, EventArgs e)
at MS.Internal.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)
And here is my entire xaml file:
| <UserControl x:Class="Daktronics.IT.Intranet.PSG.SilverlightSectionMatrix.ConfigurationSearch" |
| xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input" |
| xmlns:data="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data" |
| xmlns:prim="clr-namespace:System.Windows.Controls.Primitives;assembly=System.Windows.Controls.Data" |
| xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView" |
| > |
| <Grid x:Name="LayoutRoot"> |
| <telerik:RadGridView ItemsSource="{Binding ConfigurationsList}" HorizontalAlignment="Left" Height="600" Width="735" |
| AutoGenerateColumns="False" |
| CanUserReorderColumns="True" |
| CanUserSortColumns="True" |
| CanUserResizeColumns="True" |
| IsReadOnly="True" |
| ScrollViewer.VerticalScrollBarVisibility="Auto" |
| ScrollViewer.HorizontalScrollBarVisibility="Hidden" |
| Loaded="scrollViewer_Loaded"> |
| <telerik:RadGridView.Columns> |
| <telerik:GridViewDataColumn Header="ID" UniqueName="ID" DataMemberBinding="{Binding ID}" Width="50"/> |
| <telerik:GridViewDataColumn Header="Display Name" DataMemberBinding="{Binding DisplayName}" UniqueName="DisplayName" SortMemberPath="DisplayName" Width="150"> |
| <telerik:GridViewColumn.CellTemplate> |
| <DataTemplate> |
| <HyperlinkButton VerticalAlignment="Center" Foreground="{StaticResource NavyBlueSolidColorBrush}" Content="{Binding DisplayName}" ToolTipService.ToolTip="{Binding DisplayName}" |
| Tag="{Binding ID}" Click="navigateToDisplayButton_Click" /> |
| </DataTemplate> |
| </telerik:GridViewColumn.CellTemplate> |
| </telerik:GridViewDataColumn> |
| <telerik:GridViewDataColumn Header="Project #" UniqueName="ProjectNumber" DataMemberBinding="{Binding ProjectNumber}" Width="70" /> |
| <telerik:GridViewDataColumn Header="Task" UniqueName="TaskId" DataMemberBinding="{Binding TaskId}" Width="50" /> |
| <telerik:GridViewDataColumn Header="Px High" UniqueName="PixelsHigh" DataMemberBinding="{Binding PixelsHigh}" Width="70"/> |
| <telerik:GridViewDataColumn Header="Px Wide" UniqueName="PixelsWide" DataMemberBinding="{Binding PixelsWide}" Width="70"/> |
| <telerik:GridViewDataColumn Header="Display" UniqueName="DisplayConfigurationFamilyDesc" DataMemberBinding="{Binding DisplayConfigurationFamilyDesc}" Width="200" /> |
| <telerik:GridViewDataColumn Width="45" IsFilterable="False"> |
| <telerik:GridViewColumn.CellTemplate> |
| <DataTemplate> |
| <Button Visibility="{Binding IsDeleteAllowed,Converter={StaticResource booleanToVisibilityConverter}}" Height="20" Width="20" ToolTipService.ToolTip="Delete" Cursor="Hand" Tag="{Binding}" Click="deleteButton_Click"> |
| <Button.Content> |
| <Image Source="../Images/trashicon.png" /> |
| </Button.Content> |
| </Button> |
| </DataTemplate> |
| </telerik:GridViewColumn.CellTemplate> |
| </telerik:GridViewDataColumn> |
| </telerik:RadGridView.Columns> |
| </telerik:RadGridView> |
| </Grid> |
| </UserControl> |
Any Suggestions? I'm not getting any binding errors so you should be able to ignore all of my binding expressions. The exception gets thrown when I click on any of the filter buttons.
Thanks,
Aaron
