silverlight
发布时间:2022-05-03 发布网站:大佬教程 code.js-code.com
大佬教程收集整理的这篇文章主要介绍了Silverlight ComboBox Bug - Value does not fall within the expected range,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
概述
Silverlight 2 Combobox 有一个bug, 今天被我遇到了,下面是IE错误信息: Error: Unhandled Error in Silverlight 2 Application Code: 4004 Category: ManagedRuntimeError
message: Syste
m.Argume
ntexception: Value doe
@H_
301_6@Silverlight 2 Combo
Box 有
一个bug,今天被我遇到了,下面是IE
错误信息:
@H_301_6@
@H_
301_6@Error: Unhandled Error in Silverlight 2 Application
Code: 4004
Category: ManagedRuntimeError
message: Sy
stem.Argume
ntexception: Value does not
fall within the expected range.
at M
s.Interna
l.XcpImport
s.MethodEx(IntPtr ptr,
String name,CValue[] cvData)
at M
s.Interna
l.XcpImport
s.MethodPack(IntPtr ob
jectPtr,
String methodName,Ob
ject[] rawData)
at M
s.Interna
l.XcpImport
S.UIElement_TransformToVisual(UIElement element,UIElement visual)
at Sy
stem.Window
S.UIElement.TransformToVisual(UIElement visual)
at Sy
stem.Window
s.Control
s.Primitive
s.SELEctor.IsOnCurrentPage(Int32 index,Rect& itemsHostRect,Rect& list
BoxItemRect)
at Sy
stem.Window
s.Control
s.Primitive
s.SELEctor.ScrollIntoView(Int32 inde
X) at Sy
stem.Window
s.Control
s.Primitive
s.SELEctor.SetFocusedItem(Int32 index,
Boolean scrollIntoView)
at Sy
stem.Window
s.Control
s.Combo
Box.PrepareContainerForItemOverride(DependencyOb
ject element,Ob
ject item)
at Sy
stem.Window
s.Control
s.ItemsContro
l.updateContainerForItem(Int32 inde
X) at Sy
stem.Window
s.Control
s.ItemsContro
l.RecreateVisualChildren()
at Sy
stem.Window
s.Control
s.ItemsContro
l.RecreateVisualChildren(IntPtr unmanagedObj)
@H_301_6@
@H_
301_6@有人找到了
一个应对办法:
http://compiledexperience.com/Blog/post/Gotcha-when-databinding-a-ComboBox-in-Silverlight.aspx
@H_301_6@
@H_
301_6@试过后可以
解决我的问题
大佬总结
以上是大佬教程为你收集整理的Silverlight ComboBox Bug - Value does not fall within the expected range全部内容,希望文章能够帮你解决Silverlight ComboBox Bug - Value does not fall within the expected range所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。