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

Error in header setion ie #ERROR# The expression contains object 'CollumnName' This is not defined in the current context

1 Answer 197 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
HR
Top achievements
Rank 1
HR asked on 02 Jul 2008, 12:52 PM
Hi all,
          Iam binding the datatable to my report dynamically in asp.net.Report is working fine for the DetailsSection .but binding in the header section it is showing error  ""  #ERROR# The expression contains object 'CollumnName' This is not defined in the current context  "".but the same Collumn is working fine in details section .

one more desingning issue , i have placed two textboxes in header section ,i setup background color 'orange' to both text boxes.I placed both textboxes  in side by side . i don't want the gap between these two textboxes.it is looking good in designing,but it is showing gap between two textboxes in browser .its not good for me.if i overlap in designing it is showing something like error in designing.it is big issue for me in designing.i faced it in differnrent locations in report 

Thank you

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 02 Jul 2008, 02:10 PM
Hi HR,

We've explained in this help article, that you cannot add databound items directly to the Page Header section, because at this moment the report data source is not available anymore. You can review this KB article for a solution to this limitation.
As to the design issue - if there is a single line of text you can turn off the TextWrap and then adjust the right border to a suitable position so that it is close enough to the text. In case you have more lines of text, you can manually insert newline characters at the correct positions in the string and turn on the MultiLine property so that they are respected.

Regards,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
HR
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or