How to change Chart type dynamically?
--
asharmaHi Asharma,
As for the SQL Server reporting service, those report's design-time
definition are persisted as XML content in rdl file. For the
control(reportItem) on report, some of the properties support
programmatically supply value(through expression), for example, the
TextBox's value, Picture Item's image url. However, for the Chart report
item, the chart type is not supported to be supply by
expression(programmatically), you need to set it in designer as a fixed
value. As some one has mentioned in you other threads, for the scenario you
want dynamically change the SSRS report's design layout(such as
reportitem's type or position...), you may consider host your report in
some external program(such as an ASP.NET web application) which can
programmatically define/customize the rdl/rdlc report template and render
it.
#Integrating Reporting Services into Your Application
http://msdn2.microsoft.com/en-us/library/aa964126.aspx
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment