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

DataObject and Item Case

2 Answers 69 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 05 Feb 2010, 05:34 PM
Hi

I'm using item.DataObject to get at the data in a report:
the data comes from SQL Server
and the column is named OptiClear

Code as follows:
==============
Private Sub detail_ItemDataBound(ByVal sender As Object, ByVal e As System.EventArgs) Handles detail.ItemDataBound
Dim item As Processing.ReportItemBase = DirectCast(sender, Processing.ReportItemBase)
Me.Total_OptiClear += DirectCast(item.DataObject("OptiClear"), Decimal)
===============

If the case of OptiClear is changed to Opticlear
ie A small c

The report previews fine in my windows project
but falls over in the Web Report Viewer

NOT A MAJOR PROBLEM
but it means that you have to make absolutely sure that the case of your item
is the same as the source column....

Any comments appreciated....

Regards

Martin Hoey






2 Answers, 1 is accepted

Sort by
0
Accepted
Steve
Telerik team
answered on 10 Feb 2010, 05:19 PM
Hi Martin,

We were not able to reproduce this in our local tests. Can you elaborate what is your data source? We would appreciate if you can send us a sample project with dummy data that replicates this.

Best wishes,
Steve
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
0
Martin
Top achievements
Rank 1
answered on 01 Mar 2010, 11:41 AM
Hi Steve

Thank you for your reply and sorry for my delay....

You can close this thread, I don't have time to check at the moment

At some point I'll run through it

Thanks again


Martin
Tags
General Discussions
Asked by
Martin
Top achievements
Rank 1
Answers by
Steve
Telerik team
Martin
Top achievements
Rank 1
Share this question
or