Here's the XAML:
| <Grid x:Name="LayoutRoot" Background="White"> |
| <ria:DomainDataSource x:Name="domainDataSource" AutoLoad="True" QueryName="GetOrders"> |
| <ria:DomainDataSource.DomainContext> |
| <web:OrdersContext /> |
| </ria:DomainDataSource.DomainContext> |
| </ria:DomainDataSource> |
| <StackPanel> |
| <tgrid:RadGridView x:Name="dataGrid" Height="150" ItemsSource="{Binding Data, ElementName=domainDataSource}" |
| IsBusy="{Binding IsLoadingData, ElementName=domainDataSource}" /> |
| <data:DataGrid x:Name="anotherDataGrid" Height="150" ItemsSource="{Binding Data, ElementName=domainDataSource}" /> |
| </StackPanel> |
| </Grid> |
7 Answers, 1 is accepted
We have some problems with RIA Services and SL4 in the past, but they have been fixed. I'm attaching a new version of the dlls build against SL4. Can you please verify the state of the problem against it?
All the best,
Stefan Dobrev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Yes those DLLs did fix the problem.
Thanks, Scott
I think I spoke too soon about the fix with the new DLLs. My project also has a RibbonBar on it and now I'm getting compilation errors like:
The tag 'RadRibbonBar' does not exist in XML namespace 'clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.RibbonBar'.
on top of this error I'm getting VS2010 crashes too. the exception stack is:
System.NotImplementedException: The method or operation is not implemented.
at Microsoft.VisualStudio.Shell.Design.VsTargetFrameworkType.get_RuntimeType()
at Microsoft.VisualStudio.Shell.Design.VsTargetFrameworkUtil.EnsureRuntimeType(Type type)
at Microsoft.VisualStudio.Shell.Design.VsTargetFrameworkProvider.GetRuntimeType(Type reflectionType)
at MS.Internal.Package.VSIsolationProviderService.RemoteReferenceProxy.VsReflectionResolver.GetRuntimeType(Type reflectionType)
at Microsoft.Windows.Design.Metadata.ReflectionMetadataContext.CachingReflectionResolver.GetRuntimeType(Type reflectionType)
at Microsoft.Windows.Design.Metadata.ReflectionMetadataContext.Microsoft.Windows.Design.Metadata.IReflectionResolver.GetRuntimeType(Type reflectionType)
at MS.Internal.Metadata.ClrType.get_RuntimeMember()
at MS.Internal.Metadata.ClrMember`1.Microsoft.Windows.Design.Metadata.Reflection.IReflectionMember.get_MemberInfo()
at Microsoft.Windows.Design.Metadata.ReflectionMetadataContext.IsAssignableFrom(ITypeMetadata requesting, ITypeMetadata target)
at Microsoft.Windows.Design.Platform.SilverlightMetadataContext.IsAssignableFrom(ITypeMetadata requesting, ITypeMetadata target)
at MS.Internal.Metadata.ClrType.IsAssignableFrom(ITypeMetadata type)
at MS.Internal.Metadata.WrapperType.IsAssignableFrom(ITypeMetadata type)
at MS.Internal.Design.Metadata.ReflectionTypeNode.IsAssignableTo(TypeNode type)
... more...
Here is the simple XAML that shows the problem:
| <UserControl x:Class="SilverlightApplicationWeb.MainPage" |
| 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:trb="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.RibbonBar" |
| xmlns:data="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data" |
| xmlns:tgrid="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView" |
| xmlns:ria="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Ria" |
| xmlns:riaData="clr-namespace:System.Windows.Data;assembly=System.Windows.Controls.Ria" |
| xmlns:webb="clr-namespace:SilverlightApplicationWeb.Web;assembly=SilverlightApplicationWeb" |
| mc:Ignorable="d" |
| d:DesignHeight="300" d:DesignWidth="400"> |
| <Grid x:Name="LayoutRoot" Background="White"> |
| <ria:DomainDataSource x:Name="domainDataSource" AutoLoad="True" QueryName="GetOrders"> |
| <ria:DomainDataSource.DomainContext> |
| <webb:OrdersContext /> |
| </ria:DomainDataSource.DomainContext> |
| </ria:DomainDataSource> |
| <StackPanel> |
| <tgrid:RadGridView x:Name="dataGrid" Height="150" Margin="10" ItemsSource="{Binding Data, ElementName=domainDataSource}" |
| IsBusy="{Binding IsLoadingData, ElementName=domainDataSource}" /> |
| <data:DataGrid x:Name="anotherDataGrid" Height="150" Margin="10" ItemsSource="{Binding Data, ElementName=domainDataSource}" /> |
| <trb:RadRibbonBar Grid.Column="1" Margin="10" ApplicationButtonVisibility="Collapsed" TitleBarVisibility="Collapsed" Background="#FFBFDBFF" x:Name="ribbonBar"> |
| <trb:RadRibbonTab Name="rrtMain" Header="Main" Background="#FFCEDDF0"> |
| <trb:RadRibbonGroup Name="rrgActionGroup1" Header="Action Group 1"> |
| <StackPanel Orientation="Vertical"> |
| <trb:RadRibbonButton Text="Action 1" Size="Medium" trb:ScreenTip.Title="Action 1" |
| trb:ScreenTip.Description="Description for Action 1" /> |
| <trb:RadRibbonSplitButton Text="Action 2" Size="Medium" trb:ScreenTip.Title="Take action 2" |
| trb:ScreenTip.Description="If you push this it will take action 2" /> |
| </StackPanel> |
| </trb:RadRibbonGroup> |
| </trb:RadRibbonTab> |
| </trb:RadRibbonBar> |
| </StackPanel> |
| </Grid> |
| </UserControl> |
Thanks.
About this error:
-----
The tag 'RadRibbonBar' does not exist in XML namespace 'clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.RibbonBar'.
-----
Are you sure you have a reference to the RibbonBar dll?
Regards,
Valentin.Stoychev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
You can't mix the dll versions. This is the problem. We are releasing a SP later this week. It is recommended to use the SP build. Please let us know if you experience any problems.
Greetings,
Valentin.Stoychev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
