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

Changing Boolean Report Parameter values

2 Answers 285 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sasan
Top achievements
Rank 1
Sasan asked on 01 Nov 2010, 06:51 PM
I would like to use a Boolean report parameter in my report, but I would like to change the display value of the radio buttons.  Instead of having it display 'true' and 'false', I would like to hard code the values to strings.  I thought that I could access the ValueMember and DisplayMember and change it that way, but I have been unsuccessful so far.

2 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 02 Nov 2010, 03:52 PM
Hello Sasan,

In order to change a boolean Report Parameter label you have to set the Report Viewer's Resources.ReportParametersFalseValueLabel and Resources.ReportParametersTrueValueLabel properties.

Check out the attached screenshot.

All the best,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Sasan
Top achievements
Rank 1
answered on 02 Nov 2010, 03:56 PM
Great, thanks a lot.  Just tried it out and it worked perfectly.
Tags
General Discussions
Asked by
Sasan
Top achievements
Rank 1
Answers by
Peter
Telerik team
Sasan
Top achievements
Rank 1
Share this question
or