Telerik Forums
Reporting Forum
2 answers
118 views
When I try to add a Telerik Report to my VS2010 solution I am getting an error when gets to the step in the wizard where it asks to save the connection string.  After I build the connection string and test the connection I get the following error message as soon as I click next:

Exception of type 'Microsoft.VisualStudio.Web.Data.InternalException' was thrown.

If I uncheck "Yes, save this connections string with the following name:" it will continue and ask for the MDX select statement.
Mike
Top achievements
Rank 1
 answered on 21 Nov 2012
2 answers
147 views
I am using the code-behind for the report designer tool

Here is my output with only one x-axis label displaying, but I ultimately need all the labels to display and eventually get the series stacked. I've been busting my head against this.

Report Image

Here is my sample code to show my issue:

void chart1_NeedDataSource(object sender, EventArgs e)
        {
            chart1.PlotArea.Appearance.Dimensions.Margins = "5%";
            chart1.PlotArea.Appearance.Dimensions.Margins.Bottom.Type = Telerik.Reporting.Charting.Styles.UnitType.Percentage;
            chart1.PlotArea.Appearance.Dimensions.Margins.Bottom.Value = 15f;
            chart1.PlotArea.Appearance.Dimensions.Margins.Left.Type = Telerik.Reporting.Charting.Styles.UnitType.Percentage;
            chart1.PlotArea.Appearance.Dimensions.Margins.Left.Value = 15f;
            chart1.Legend.Visible = false;
            chart1.ChartTitle.Visible = false;
 
            chart1.PlotArea.XAxis.Appearance.LabelAppearance.RotationAngle = 45;
                                     
            chart1.PlotArea.XAxis.Clear();
            chart1.PlotArea.XAxis.AutoScale = false;
            chart1.PlotArea.XAxis.AddRange(1, 5, 1);
            chart1.PlotArea.XAxis[0].TextBlock.Text = "Test";
            chart1.PlotArea.XAxis[1].TextBlock.Text = "Test2";
            chart1.PlotArea.XAxis[2].TextBlock.Text = "Test3";
            chart1.PlotArea.XAxis[3].TextBlock.Text = "Test4";
            chart1.PlotArea.XAxis[4].TextBlock.Text = "Test5";
 
            chart1.Series.Add(new Telerik.Reporting.Charting.ChartSeries() { Name = "Test" });
 
            double[] testData = { 5, 6, 7, 8, 9 };
            foreach (double item in testData)
            {
                chart1.Series[0].AddItem(item);
            }
        }
Wayne
Top achievements
Rank 1
 answered on 21 Nov 2012
1 answer
120 views
Hi Team,

How would one go about changing the text font-size of the Reportviewer's ProgressText?  I need to make it smaller.

<telerik:ReportViewer ID="ReportViewer1" runat="server"

 

style="border:1px solid #ccc;" width="100%" height="100%"

 

OnClientResized="resizeViewer" ProgressText="Step 2: Preparing report..."

 

ZoomMode="Percent" ViewMode="PrintPreview"

 

ShowPrintPreviewButton="False" SkinsPath="Skins" Skin="Custom" Font-Size="9pt" />


I tried this but to no avail.

We're using:

ASP.Net 4.0
VS 2010
Telerik Reports – Q3-2012
Telerik AJAX Controls – Q3-2012

Thanks,
Steve
Peter
Telerik team
 answered on 21 Nov 2012
1 answer
108 views
hi!
 i have to bind data from many datatable into a single telerik report table or crosstab control. ie, i have to bind a dataset into a single reporting table control. how do i do this?
Peter
Telerik team
 answered on 21 Nov 2012
1 answer
251 views
I'm using Telerik Reporting Q1 2012. I can't get ride of the white space between the header and the detail section of the report. In design, there isn't any space at all. Here's screenshot! Any help?
Steve
Telerik team
 answered on 21 Nov 2012
4 answers
141 views
Hi

I want to change Report Viewer's background from White to image in Silverlight
(screenshot: http://www.freeimagehosting.net/avhxc)
Could you please tell me how can I change it?

Thanks!
Chien Cheng
Top achievements
Rank 1
 answered on 21 Nov 2012
2 answers
211 views
Hi everyone

I need to set my crosstab position programmatically, because it has different number of columns based on user options. So I want to show it in the center (horizontally) of page every time.

I used of location (x , y) based on dimension of page and number of crosstab columns for it in my c# code, but it is not effective at all.

Thanks for your guides
Ken Lewis
Top achievements
Rank 1
 answered on 20 Nov 2012
5 answers
475 views
I am trying to create a bar chart in a Telerik Report. I have a SQL stored procedure that gathers the data and returns the number of items that are different colors. My items can be one of six color (Green, Gray, Orange, Yellow, Black, or Red). I then need the bar chart to display the x-axis label with the color name and the to color that bar with the color represented. I have tried two different stored procedures that return the data in two different formats. One method returns two columns one for the name of the color and the second for the count of items with that count. There a total of six rows returned, one row per color. The second method returns just one row and six columns, each column name is the colorname and has the count. Method one lets me set the X-Axis labels to the color name and shows the proper count but I cannot find a way to change the color of each bar on the chart. I can only set one color for all bars. If I try the second method of data, I can set up a custom palette and create a series with enough items to patch but I cannot put the color names under each bar on the chart. Any assistance or suggestions would be greatly appreciated.
Steve
Telerik team
 answered on 20 Nov 2012
1 answer
279 views
When I click the preview button my report auto loads, but I have a string parameter I would like to fill in. My query is such that an empty string will load an unfiltered list, which can take some time. I really need it to wait for me to enter my parameter and click preview before it tries to load the report. Is there any way to do this? and why does this happen anyways, shouldn't it just wait for my parameter like SSRS does?

P.S. If I choose to not allow blank strings for that parameter, the preview then fails, but won't let me reload the report after I put in a valid parameter... seems like a bug.
Steve
Telerik team
 answered on 20 Nov 2012
1 answer
143 views
Hello,


I'm new to the forum, so thanks in advance, I hope someone can help me. I have an strange error with Telerik Reporting.

I am using the Telerik Reporting Q1 2012 (ver. 6.0.12.215) and Visual Studio 2010, framework 4.0, and works perfectly in PROD, TEST and in one DEV environment...

MY applications is SL4 and show the reports inside a ReportsViewer.

But now I am trying to setup a new Dev environment and i have an error:

a:InternalServiceFaultError loading extension type with name .A null or zero length string does not represent a valid Type. at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) at System.Type.GetType(String typeName, Boolean throwOnError) at Telerik.Reporting.Processing.ExtensionManagerBase.CreateExtensionInfo(String typeName, String extensionName)System.TypeLoadExceptionError loading extension type with name . at Telerik.Reporting.Processing.ExtensionManagerBase.CreateExtensionInfo(String typeName, String extensionName) at Telerik.Reporting.Processing.ExtensionManagerBase.Config(ExtensionInfoCollection extensions, ReportingConfigurationSection section) at Telerik.Reporting.Processing.ExtensionManagerBase..ctor(IEnumerable`1 extensionTypeNames, ReportingConfigurationSection section) at Telerik.Reporting.Processing.ExtensionManager..ctor(IEnumerable`1 extensionTypeNames, ReportingConfigurationSection reportingSection) at Telerik.Reporting.Processing.ExtensionManager.get_Instance() at Telerik.Reporting.Processing.ExtensionManager.ListExtensions(Type extensionType) at Telerik.Reporting.Processing.ReportProcessor.ListRenderingExtensions() at Telerik.Reporting.Service.ReportServiceBase.Telerik.Reporting.Service.IReportService.ListRenderingExtensions() at SyncInvokeListRenderingExtensions(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage41(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)Telerik.Reporting.Interfaces.ExtensionManagerException

My application needs to work with SSL, and works fine, but in this new Dev environment i have this error... 

I read all articles, and I have reviewed the DLLs, and the web.config settings

Any ideas?

Thanks!


Steve
Telerik team
 answered on 20 Nov 2012
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?