views:

98

answers:

1

hi all,

I get the following error when I try to edit and save fields in dataform :

Microsoft JScript runtime error: Unhandled Error in Silverlight Application 
Code: 4004    
Category: ManagedRuntimeError       
Message: System.ArgumentException: Value does not fall within the expected range.
   at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
   at MS.Internal.XcpImports.MethodPack(IntPtr objectPtr, String methodName, Object[] rawData)
   at MS.Internal.XcpImports.MouseEventArgs_GetPosition(MouseEventArgs args, UIElement relativeTo)
   at System.Windows.Input.MouseEventArgs.GetPosition(UIElement relativeTo)
   at System.Windows.Controls.Primitives.DataGridColumnHeader.DataGridColumnHeader_MouseEnter(Object sender, MouseEventArgs e)
   at System.Windows.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
   at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)     

Well, there is a collapsed textbox, and this textbox become visible depending on the type of a certain object. If this textbox is collapsed, this dataform works fine. However, whenever I make it visible and try to edit and save some data.. I get the error randomly...

does anybody have this kind experience? please help.. I am sending too much time on this..

Thanks,

A: 

share your XAML

Alexander Bykin