Posts in 'web'
The C1Chart LightSwitch Extension provides various options to customize the various charts that that can be rendered with this extension. While most customization can be done easily at design time, but for some we need to write a little bit of code to get what we want. Displaying Labels on a Pie Chart perfectly fits this scenario , so lets have a look at how we can get this done in 2 easy steps.
Grouping is one of the most commonly used feature when it comes to designing a report. Its implementation can vary from one report to another based on the requirements of the user. A very common scenario is starting each group from a new page. This helps in encapsulating the groups in one page or a range of pages, thus making it easier for a user to identify each group individually. The good thing here is that the GroupFooter section in ActiveReports provides a NewPage property which if set to "After", automatically starts the report from the next page, once the current group is completely rendered.
Microsoft's Entity Framework since its inception has become developer's favorite for mapping a Relational Database to a Conceptual Model. Its strength lies in the way it allows developers to modify the Conceptual Model as per their business logic and still be connected to the Relational Database. In simpler terms Microsoft Entity Framework creates a set of classes from the database schema and allows developers to work on these objects without worrying about the relational object model that works behind the scenes.
Studio for LightSwitch 2012 v3 is now available and below you will find a complete list of the enhancements and fixes that we have included. If you have a current Studio for LightSwitch license, you can download and install this upgrade for free. If you do not, please contact sales to discuss your options.
Many of the enhancements to the C1Chart control in 2012 v3 were to make development easier. Animation is one of those features. You’ve always been able to apply animations to the plot elements, but now with the new animation API it got a lot easier. This blog post walks through creating load animations in XAML.
I am happy to announce the release of Spread.NET 6.0.4006.2008 (for .NET 4.0 MVC), 6.0.3506.2008 (for .NET 3.5), and 6.0.2006.2008 (for .NET 2.0)!
Many times users come and ask for the CanGrow property of the Shape control in ActiveReports. Basically, this requirement arises for a shape, which surrounds Textboxes and requires to grow whenever the Textboxes inside it grows. As of now, ActiveReports 7.0 does not have any property to support this implementation.
C1ReportViewer is an advanced control which provides a great user interface for viewing , printing and exporting reports to various formats and much more. This feature makes it a widely used control. However, this also brought up the need to localize the control's user interface for different languages and cultures. Keeping in mind the diverse customer base, a new propertyLocalization has been introduced in the C1ReportViewer control with the build 4.0/3.5.20122.77 .
Oracle happens to be a widely used datasource and let’s see how we can bind Section Reports to this database. So before we get started let’s get the ingredients in place that we would need for connecting to an Oracle datasource. The only thing that we would need is an Oracle Data Provider for .NET which would allow us to take advantage of Oracle database functionality and expose us the API that we would need to work with Oracle inside a .NET application. We have used the one that is provided by Oracle i.e. the ODP.NET library(Oracle.DataAccess.Client assembly). This library can be downloaded from here.
We have already discussed about using XSD (Typed Dataset) as a datasource for ActiveReports' Section Reports in this article. However, we didn't discuss about how to use it in case of Page Reports. The tricks of the trade remains almost same with some minor changes to make this work.
Any reporting tool cannot be called complete without a charting feature. ActiveReports 7 being a very robust reporting tool provides a nice support for different types of charts. In one of the blog posts, I discussed about creating a dynamic Pie Chart and in this blog post I would be discussing about creating a Stacked Bar chart at run time. A Stacked bar chart is a graph that is used to compare the parts to the whole. The bars in a stacked bar graph are divided into categories. Each bar represents a total.
Studio for Silverlight and WPF contain many small and helpful components that you might not be aware of. This blog post focuses on the C1PromptBox class that provides a quick prompt window to collect user data.
C1GridView supports various types of Columns which can be customized according to User's need. In my previous blogs, I discussed how we can data bind a C1TemplateField at design time and at runtime. In this blog we discuss how to DataBind a C1HyperLinkField and show hyperlinks in the grid.
The C1Chart control got several new enhancements in the 2012 v3 release. One of the new features introduced is automatic series generation. Two new properties on the ChartData object now enable the number of data series to be automatically generated based upon the model. This is a useful feature for developers using MVVM as now the number of series can be completely generated in the View Model.
Spread for Silverlight does not have inbuilt feature to set the cell type for cells like its other versions (Asp.net and Windows Forms). But you can still put a Silverlight control in a cell using the CustomDrawingObject Class.
ActiveReport’s End User Designer (EUD) has always being the star attraction for both developers and end users. The idea of giving the real end users the power to Create or Edit reports and Write Script code, seems to be what has captured the imagination of many customers. They always wanted to take this functionality a step further and use it on the Web as well. Unfortunately, this is where a line needs to be drawn since the EUD is a Windows Form control and therefore cannot be used on the Web.
In WinForms and ASP.NET, numbers and dates are formatted and parsed using the current thread's CultureInfo.CurrentCulture property. This is the value that users may change using the control panel.