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

possible bug in params

1 Answer 57 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Martin P
Top achievements
Rank 1
Martin P asked on 19 Aug 2008, 07:44 PM
Hi, I have a report with a MultiValue string parameter called paramCont hooked up to a dataset which uses the following sql;

SELECT DISTINCT contract, contract + ' | ' + grnCode + ' | ' + dest AS contractDispName FROM  vwRpts_OutloadingTickets
ORDER BY contract

The DisplayMember is set to 'contractDispName' and the ValueMember is set to 'contract'

For the majority of cases it works and the report renders ok, however if there are any trailing spaces in the DisplayMember then the report does not render and the red exclamation 'invalid param' displays.

It does not act like this within the designer/preview only when the report is built into the class library and rendered through a browser.

An easy fix to place an RTRIM() in the dataset but think this is a bug an caught me out completely.

1 Answer, 1 is accepted

Sort by
0
Accepted
Milen | Product Manager @DX
Telerik team
answered on 20 Aug 2008, 09:10 AM
Hello Martin P,

We made some tests and there is an issue with the leading/trailing spaces caused by the specifics of the html rendering.

Thank you for helping us make our product better. As a small compensation for your efforts your account will be updated with 200 Telerik points.

All the best,
Milen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Martin P
Top achievements
Rank 1
Answers by
Milen | Product Manager @DX
Telerik team
Share this question
or