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
35
LoadLayout Throw Exception
posted

Hi,

I'm using the SaveLayout/LoadLayout functionality to save/restore my pane positions at application closing/application startup.

Most of the time it works fine, but sometime, the LoadLayout fails and throw an exception :

Index must be within the bounds of the List.
Parameter name: index

After a quick investigation, the problem is apparently linked to the property unpinnedOrder used in the ContentPane definition list (first part of the layout xml, check file in attachment).

The contentPane '_noteList' has the property unpinnedOrder=1, with this value, the loadLayout fails (check stack trace file for more info). If I change manually this value to -1, it works.

For info we are using version 10.1.20101.1000

LoadLayout.zip
Parents
No Data
Reply
  • 30
    posted

    Hi, I am running into same issue. Did u find a resolution to this issue ?

    regards,

    Atul

Children
No Data