Brian Workman
Top achievements
Rank 2
Brian Workman
asked on 18 Mar 2010, 09:09 PM
2010.1 - Current Build
When I set the value of an ObjectDataSource parameter to "=Parameters.SomeParameter.Value", the ODS disappears from Data Explorer. It reappears if I set the parameter value to <blank>. Is it supposed to do this?
Thanks,
-Brian
When I set the value of an ObjectDataSource parameter to "=Parameters.SomeParameter.Value", the ODS disappears from Data Explorer. It reappears if I set the parameter value to <blank>. Is it supposed to do this?
Thanks,
-Brian
7 Answers, 1 is accepted
0
Hello Brian,
Since we've been unable to reproduce this on our end, we would appreciate if you prepare a sample report with dummy business object that shows the problem. Once we review it, we would be able to advise you accordingly.
Greetings,
Steve
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.
Since we've been unable to reproduce this on our end, we would appreciate if you prepare a sample report with dummy business object that shows the problem. Once we review it, we would be able to advise you accordingly.
Greetings,
Steve
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
Jonathan Simmons
Top achievements
Rank 1
answered on 24 Mar 2010, 11:39 AM
Hello, I have also found the same problem. When the ODS expects parameters (and these are defined in the report with default values set), the Data Explorer will not display the datasource fields. Remove the parameters from the ODS and the fields are displayed in the Data Explorer. This is really annoying.
Here is the ODC method:
If I remove the two parameters StartDate and EndDate, the report Data Explorer displays all the fields as expected.
Regards,
Jonathan
Here is the ODC method:
public DataTable PlanningMasterData(DateTime StartDate, DateTime EndDate) |
{ |
string cnn = "DATA SOURCE=xxxx;PERSIST SECURITY INFO=True;USER ID=xxxx;PASSWORD=xxxx"; |
//DateTime StartDate = DateTime.Today.AddMonths(-1); |
//DateTime EndDate = DateTime.Today; |
using (Oracle.DataAccess.Client.OracleConnection cn = new Oracle.DataAccess.Client.OracleConnection(cnn)) |
using (Oracle.DataAccess.Client.OracleCommand cmd = cn.CreateCommand()) |
{ |
DataTable dt = new DataTable(); |
Oracle.DataAccess.Client.OracleDataAdapter da = new Oracle.DataAccess.Client.OracleDataAdapter(); |
cmd.CommandType = System.Data.CommandType.Text; |
cmd.CommandText = OracleSQL.SQLPlanningMaster; |
cmd.Parameters.Add(new OracleParameter("StartDate", OracleDbType.Date)); |
cmd.Parameters.Add(new OracleParameter("EndDate", OracleDbType.Date)); |
cmd.Parameters["StartDate"].Value = StartDate; |
cmd.Parameters["EndDate"].Value = EndDate; |
da.SelectCommand = cmd; |
da.Fill(dt); |
return dt; |
} |
} |
If I remove the two parameters StartDate and EndDate, the report Data Explorer displays all the fields as expected.
Regards,
Jonathan
0
Hello Jonathan,
Brian has sent a sample project that shows the problem, we were able to reproduce it and we consider this a bug on our end. We've logged it in our bug tracking system and would address the problem for subsequent service pack or internal build.
Please excuse us for the temporary inconvenience.
Greetings,
Steve
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.
Brian has sent a sample project that shows the problem, we were able to reproduce it and we consider this a bug on our end. We've logged it in our bug tracking system and would address the problem for subsequent service pack or internal build.
Please excuse us for the temporary inconvenience.
Greetings,
Steve
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
Jonathan Simmons
Top achievements
Rank 1
answered on 31 Mar 2010, 02:27 PM
Any news on this item? I have just downloaded the latest internal build, but the issue of parameterised object data sources still exists, ie where an ODS is parameterised, despite the parameters being defined in the report with default values, the report data explorer does not display anything.
This is really holding up our report development.
Regards,
Jonathan
This is really holding up our report development.
Regards,
Jonathan
0
Hello Jonathan,
It's been reported a week ago and we could not fix this for the internal build. We would do our best to include it in the subsequent internal build/service pack.
Thank you for the patience and sorry for the inconvenience once again.
Best wishes,
Steve
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.
It's been reported a week ago and we could not fix this for the internal build. We would do our best to include it in the subsequent internal build/service pack.
Thank you for the patience and sorry for the inconvenience once again.
Best wishes,
Steve
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
Mark
Top achievements
Rank 1
answered on 24 Jun 2011, 02:32 PM
We are having this same problem when using 5.0.11.328 should this have been fixed.
0
Hi David,
This forum post is more than an year old and the issue has been fixed since then i.e. the fix is present in 5.0.11.328. Please prepare a sample report with dummy business object that shows the problem and we would advise you once we review it.
Greetings,
Steve
the Telerik team
This forum post is more than an year old and the issue has been fixed since then i.e. the fix is present in 5.0.11.328. Please prepare a sample report with dummy business object that shows the problem and we would advise you once we review it.
Greetings,
Steve
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