Hi,
I use the lastest version of Radcontrol for Silverlight (2011 Q1) with VS2010 SP1.
I have an error when i set the event "SelectionChanged", you can see the stacktrace of exception:
System.InvalidOperationException
L'opération n'est pas valide en raison de l'état actuel de l'objet.
à Microsoft.MetadataReader.MetadataOnlyTypeDef.MakeGenericType(Type[] argTypes)
à Microsoft.VisualStudio.Shell.Design.TypeWrapper.MakeGenericType(Type[] typeArguments)
à Microsoft.MetadataReader.ProxyGenericType.GetResolvedTypeWorker()
à Microsoft.MetadataReader.TypeProxy.GetResolvedType()
à Microsoft.MetadataReader.TypeProxy.GetHashCode()
à Microsoft.Windows.Design.Metadata.ReflectionMetadataContext.GetTypeForReflectableType(Reflectable`1 reflectableType)
à MS.Internal.Metadata.ClrType.GetTypeMetadata(Type type)
à MS.Internal.Metadata.ClrEvent.get_EventHandlerType()
à MS.Internal.Design.Metadata.ReflectionEventNode.get_PropertyType()
à MS.Internal.Design.DocumentModel.DocumentTrees.Markup.XamlProperty.get_PropertyType()
à MS.Internal.Design.DocumentModel.DocumentTrees.Markup.XamlProperty.get_IsComposite()
à Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.<EnumerateTreeTypes>d__20.MoveNext()
à Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.<EnumerateTreeTypes>d__20.MoveNext()
à Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.<EnumerateTreeTypes>d__20.MoveNext()
à Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.<EnumerateTreeTypes>d__20.MoveNext()
à Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.<EnumerateTreeTypes>d__20.MoveNext()
à Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.<EnumerateTreeTypes>d__20.MoveNext()
à Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.<EnumerateTreeTypes>d__20.MoveNext()
à Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.<EnumerateTreeTypes>d__20.MoveNext()
à Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.<EnumerateDamageTypes>d__31.MoveNext()
à Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.ReferenceUpdater.EnsureReferences(IEnumerable`1 types)
à Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.ReferenceUpdater.Microsoft.Windows.Design.DocumentModel.IDocumentTreeConsumer.HandleMessage(DocumentTreeCoordinator sender, MessageKey key, MessageArguments args)
à Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.CancelableDocumentTreeCoordinator.RouteMessage[T](IDocumentTreeConsumer consumer, MessageKey`1 key, T args)
à Microsoft.Windows.Design.DocumentModel.DocumentTreeCoordinator.SendMessage[T](MessageKey`1 key, T args, Boolean isPrivateMessage)
à Microsoft.Windows.Design.DocumentModel.DocumentTreeCoordinator.SendMessage[T](MessageKey`1 key, T args)
à Microsoft.Windows.Design.DocumentModel.DocumentTreeCoordinator.ReportDamage(IDocumentTreeProducer tree, Damage damage)
à Microsoft.Windows.Design.DocumentModel.MarkupProducer.Update()
à Microsoft.Windows.Design.DocumentModel.MarkupProducer.HandleMessage(DocumentTreeCoordinator sender, MessageKey key, MessageArguments args)
à Microsoft.Windows.Design.DocumentModel.MarkupProducer.Microsoft.Windows.Design.DocumentModel.IDocumentTreeConsumer.HandleMessage(DocumentTreeCoordinator sender, MessageKey key, MessageArguments args)
à Microsoft.Windows.Design.DocumentModel.DocumentTreeCoordinator.SendMessage[T](MessageKey`1 key, T args, Boolean isPrivateMessage)
à Microsoft.Windows.Design.DocumentModel.DocumentTreeCoordinator.QueuedMessage`1.Microsoft.Windows.Design.DocumentModel.IQueuedMessage.Invoke()
à Microsoft.Windows.Design.DocumentModel.DocumentTreeCoordinator.ProcessQueuedMessages(Object state)
à System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
à MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
When Y set the name of the control (i.e. x:Name="RadTabControlBottom") , I cannot acces it in code behind. this controlis under a border compenent:
Could you help me?
Best regards,
Stephane.
I use the lastest version of Radcontrol for Silverlight (2011 Q1) with VS2010 SP1.
I have an error when i set the event "SelectionChanged", you can see the stacktrace of exception:
System.InvalidOperationException
L'opération n'est pas valide en raison de l'état actuel de l'objet.
à Microsoft.MetadataReader.MetadataOnlyTypeDef.MakeGenericType(Type[] argTypes)
à Microsoft.VisualStudio.Shell.Design.TypeWrapper.MakeGenericType(Type[] typeArguments)
à Microsoft.MetadataReader.ProxyGenericType.GetResolvedTypeWorker()
à Microsoft.MetadataReader.TypeProxy.GetResolvedType()
à Microsoft.MetadataReader.TypeProxy.GetHashCode()
à Microsoft.Windows.Design.Metadata.ReflectionMetadataContext.GetTypeForReflectableType(Reflectable`1 reflectableType)
à MS.Internal.Metadata.ClrType.GetTypeMetadata(Type type)
à MS.Internal.Metadata.ClrEvent.get_EventHandlerType()
à MS.Internal.Design.Metadata.ReflectionEventNode.get_PropertyType()
à MS.Internal.Design.DocumentModel.DocumentTrees.Markup.XamlProperty.get_PropertyType()
à MS.Internal.Design.DocumentModel.DocumentTrees.Markup.XamlProperty.get_IsComposite()
à Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.<EnumerateTreeTypes>d__20.MoveNext()
à Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.<EnumerateTreeTypes>d__20.MoveNext()
à Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.<EnumerateTreeTypes>d__20.MoveNext()
à Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.<EnumerateTreeTypes>d__20.MoveNext()
à Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.<EnumerateTreeTypes>d__20.MoveNext()
à Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.<EnumerateTreeTypes>d__20.MoveNext()
à Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.<EnumerateTreeTypes>d__20.MoveNext()
à Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.<EnumerateTreeTypes>d__20.MoveNext()
à Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.<EnumerateDamageTypes>d__31.MoveNext()
à Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.ReferenceUpdater.EnsureReferences(IEnumerable`1 types)
à Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.ReferenceUpdater.Microsoft.Windows.Design.DocumentModel.IDocumentTreeConsumer.HandleMessage(DocumentTreeCoordinator sender, MessageKey key, MessageArguments args)
à Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.CancelableDocumentTreeCoordinator.RouteMessage[T](IDocumentTreeConsumer consumer, MessageKey`1 key, T args)
à Microsoft.Windows.Design.DocumentModel.DocumentTreeCoordinator.SendMessage[T](MessageKey`1 key, T args, Boolean isPrivateMessage)
à Microsoft.Windows.Design.DocumentModel.DocumentTreeCoordinator.SendMessage[T](MessageKey`1 key, T args)
à Microsoft.Windows.Design.DocumentModel.DocumentTreeCoordinator.ReportDamage(IDocumentTreeProducer tree, Damage damage)
à Microsoft.Windows.Design.DocumentModel.MarkupProducer.Update()
à Microsoft.Windows.Design.DocumentModel.MarkupProducer.HandleMessage(DocumentTreeCoordinator sender, MessageKey key, MessageArguments args)
à Microsoft.Windows.Design.DocumentModel.MarkupProducer.Microsoft.Windows.Design.DocumentModel.IDocumentTreeConsumer.HandleMessage(DocumentTreeCoordinator sender, MessageKey key, MessageArguments args)
à Microsoft.Windows.Design.DocumentModel.DocumentTreeCoordinator.SendMessage[T](MessageKey`1 key, T args, Boolean isPrivateMessage)
à Microsoft.Windows.Design.DocumentModel.DocumentTreeCoordinator.QueuedMessage`1.Microsoft.Windows.Design.DocumentModel.IQueuedMessage.Invoke()
à Microsoft.Windows.Design.DocumentModel.DocumentTreeCoordinator.ProcessQueuedMessages(Object state)
à System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
à MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
When Y set the name of the control (i.e. x:Name="RadTabControlBottom") , I cannot acces it in code behind. this controlis under a border compenent:
<
Border
Grid.Row
=
"2"
BorderBrush
=
"{Binding ElementName=button1, Path=BorderBrush}"
BorderThickness
=
"0,1,0,0"
>
<
telerik:RadTabControl
x:Name
=
"RadTabControlBottom"
BorderBrush
=
"{x:Null}"
Background
=
"Black"
Style
=
"{StaticResource HeaderRadTabControlStyle}"
SelectionChanged
=
"tabChanged"
>
...
</
telerik:RadTabControl
>
</
Border
>
Could you help me?
Best regards,
Stephane.