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

Parameter Default Value

2 Answers 338 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Derek
Top achievements
Rank 1
Derek asked on 29 Nov 2012, 07:22 PM
Hello All,


I have a technical question on telerik report.

On my report, I have two parameters("State" and "City")--They are setup in "cascading" way. Meanwhile, I setup "0" as default values (display value as "All") for both of them.

In the first load, if I choose "MN" for State, the city will list as below and "All" as a default value automatically is selected, which is expected.
CityID         CityName
0                     "all"
120                  "St paul"
121                   "Minneapolis"  

At this point, if I choose "St paul" for city and hit "run report" button, the report will be presented decently.

The issue is in the second round, however. If I change my state value from MN to PA, I expect the city list will reload all cities from PA(which is correct and includes default value "0, All") abd the default value still keeps as "All"(cityID=0) (which is in list but not selected automatically for me this time). I have to click this dropdown list again to choose "all" by myself.

Who can share some lights on this---how to make the default value still working even in the first round you have specified the value for this?

Thanks
 
 

2 Answers, 1 is accepted

Sort by
0
Derek
Top achievements
Rank 1
answered on 30 Nov 2012, 04:22 PM
Anyone can share some ideas on this?
Is this by design or not?
0
Steve
Telerik team
answered on 03 Dec 2012, 09:57 AM
Hi Derek,

We have made various fixes to the report parameters including cascading parameters evaluation in the latest internal build. Our suggestion is to download the internal build, upgrade and if you still encounter unexpected behavior, provide us with a runnable project that exhibits it and we would advise you accordingly.

All the best,
Steve
the Telerik team

HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

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