This is a migrated thread and some comments may be shown as answers.

Toggle Visibility - Index was outside the bounds of the array

1 Answer 124 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ctrax
Top achievements
Rank 1
Ctrax asked on 06 Jan 2012, 09:32 PM
In a Telerik report table, I have a row containing a parent group (Classification) and a second row containing a child group (Detail).  Each classification can contain mutiple detail rows.  I am attempting to set this up as a drill down, with the detail rows hidden until toggled from the Classification.  To do this, I have tried the following:

In the first column cell of the Classification row, I am setting a "Toggle Visibility" action, and setting the Detail group as the toggle target.  In the group properties of the Detail group, I have set Visible = False (otherwise the rows are always displayed on the report).  When I run the report, only the Classificaiton rows are displayed in the table, with a toggle button in the first cell, as I intended.  However, when I click any of the toggle buttons, I get the following error:

An error has occurred while processing Table 'table1':
Index was outside the bounds of the array.

If I shut off the Toggle Visibility action, all rows are displayed in the report, and the error does not occur.  Any idea why the toggle feature would be encountering this error?

1 Answer, 1 is accepted

Sort by
0
Hadib Ahmabi
Top achievements
Rank 1
answered on 09 Jan 2012, 03:32 PM
Everything you described sounds fine. You might have deleted some cells/rows/cols that shouldn't be deleted. Manipulating tables can be tricky. Try to delete the table and create it again in a different manner. It is very important how you achieve the layout of the table. I mean how and in what order you add the rows/cells/groups.
Tags
General Discussions
Asked by
Ctrax
Top achievements
Rank 1
Answers by
Hadib Ahmabi
Top achievements
Rank 1
Share this question
or