Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2940
Exception while loading xamdatagrid
posted

Hi... i am using xamdatagrid and using "InfragisticsWPF4.DataPresenter.v11.2".Exception is raised as "Index was outside the bounds of the array."  in the method VerifyCellsInView(Size elementSize).Exception decription is below. So plz check it and solve my problem

-----------------------------

[General Info]

 

Application:  2012 

Version:     1.1.153.3974

Region:      English (India)

Machine:     SHANKAR-PC

User:        Shankar

Date: 15-06-2012

Time: 07:38

 

User Explanation:

 

Shankar said ""

-----------------------------

 

[Exception Info 1]

 

Top-level Exception

Type:        System.IndexOutOfRangeException

Message:     Index was outside the bounds of the array.

Source:      InfragisticsWPF4.DataPresenter.v11.2

Stack Trace: at Infragistics.Windows.DataPresenter.VirtualizingDataRecordCellPanel.VerifyCellsInView(Size elementSize)

   at Infragistics.Windows.DataPresenter.VirtualizingDataRecordCellPanel.ArrangeOverride(Size finalSize)

   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)

   at System.Windows.UIElement.Arrange(Rect finalRect)

   at System.Windows.ContextLayoutManager.UpdateLayout()

   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)

   at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()

   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()

   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)

   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)

   at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget)

   at System.Windows.Interop.HwndTarget.OnResize()

   at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)

   at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)

   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

 

-----------------------------

 

[Assembly Info]

 

mscorlib, Version=4.0.0.0

System, Version=4.0.0.0

ExceptionReporter.WinForms, Version=2.1.1.0

mscorlib, Version=2.0.0.0

DocumanModel, Version=1.0.86.2800

Ionic.Zip, Version=1.9.1.8

MySql.Data, Version=6.4.3.0

System.Data, Version=4.0.0.0

System.Windows.Forms, Version=4.0.0.0

DotnetUtils, Version=1.0.0.0

PostSharp, Version=2.0.0.0

 

-----------------------------

 

[Config Settings]

 

<?xml version="1.0"?>

<configuration>

  <startup useLegacyV2RuntimeActivationPolicy="true">

    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>

  </startup>

  <system.diagnostics>

    <sources>

      <source name="mysql" switchName="SourceSwitch"

        switchType="System.Diagnostics.SourceSwitch" >

      </source>

    </sources>

    <switches>

      <add name="SourceSwitch" value="Information" />

    </switches>

  </system.diagnostics>

</configuration>

 

-----------------------------

 

[System Info]

 

Operating System

-

--CodeSet = 1252

--CSDVersion = 

--CurrentTimeZone = 330

--FreePhysicalMemory = 867444

--OSArchitecture = 64-bit

--OSLanguage = 1033

--ServicePackMajorVersion = 0

--ServicePackMinorVersion = 0

--Version = 6.1.7600

 

Machine

-SHANKAR-PC

--Manufacturer = Gigabyte Technology Co., Ltd.

--Model = GA-MA78GM-US2H

--TotalPhysicalMemory = 3756515328

--UserName = Shankar-PC\Shankar

 

-----------------------------

 

  • 20872
    Offline posted

    Hello shankarnag,

    We are still following this forum thread.

    Have you been able to verify if would be possible for you to provide us a small application that reproduces the mentioned behavior?

    If you have any other questions or concerns about this matter please do not hesitate to contact us.

  • 138253
    Offline posted

    Hello Shankar,

     

    Thank you for your post. I have been looking into it, but I cannot be completely sure how your data is organized and how it is connected to the DataPresenter I wasn’t able to reproduce your issue, so if this is still an issue for you, could you please send me an isolated sample project, where this is reproduced, so I can investigate it further for you.

     

    Looking forward for your reply.