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

crosstable toggle visibility error

2 Answers 44 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
IT
Top achievements
Rank 1
IT asked on 19 Sep 2012, 01:44 PM
hi,
i have in my crosstable 4 entries in my column groups, each with a total calculation.
- budgettype
- year
- quarter
- month

i've set in the group explorer on the month: behaviour visible = false
i've set on the according total textbox visible = false.
on the quarter fields, i set toggle visibility on the 2 items.
but when i run the report, if i hit the expand button on the quarter, i get the message "object reference not set to an instance of an object"

wen i put the textbox.visible = true it works (so when expanding the button quarter, it hides the textbox)

any idea?

2 Answers, 1 is accepted

Sort by
0
IvanY
Telerik team
answered on 24 Sep 2012, 02:28 PM
Hello Stijn,

The error you are experiencing is usually due to the fact that you have hidden a textbox that is needed for the Crosstab layout. In your case you most probably have set Visible=false to the incorrect textbox (or textboxes). So when you click on the toggle button the wrong textboxes change their visibility.

It will be best if you can provide us with runnable sample that exhibits the issue so that we are able to reproduce it locally, as this will help us identify the culprit much faster. If you have sensitive data you can replace it with a hardcoded ObjectDataSource or with a sql table filled with sample data.

Greetings,
IvanY
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

0
IT
Top achievements
Rank 1
answered on 26 Sep 2012, 01:50 PM
issue was caused by myself
the textbox changing visibility belonged to the crosstab and was not part of a panel.
Tags
General Discussions
Asked by
IT
Top achievements
Rank 1
Answers by
IvanY
Telerik team
IT
Top achievements
Rank 1
Share this question
or