Posts in 'web'
Wijmo Tree widget is used to present items in a hierarchical tree structure. It supports expand/collapse animations, stylish themes, and drag-and-drop functionality etc.
In my previous blog we discussed how to bind a Template Field containing DropDownList using a lookup table. Binding was done at design time using the DataSourceID property of C1GridView. You can refer to the blog here.
ActiveReports 7 being a powerful and flexible report tool supports parameters and stored procedures. Parameters allow users to display a report in accordance to the values they pass to the report. In ActiveReports 7, the HtmlViewer type of the WebViewer control allow users to pass parameters to the report; however one common question which users have is how to pass parameters over the web from a different aspx page.
ActiveReports 7 happens to be latest addition to the legacy of ActiveReports. Talking of legacy, we still have few customers who are still using the COM version of ActiveReports, and would like to migrate to ActiveReports 7 which targets the .NET platform.
The Grouping feature of ActiveReports allows to group the data (keep them together) in a report. All you need is to set the Group Header section's DataField property to the field on which you want to group the report. When you run the report, it renders the group header, followed by all the related instances of detail section, and then the group footer (considering non-multiple grouping scenario). You can set one or more than one nested groups in a report, known as multiple grouping. You can find more information about this in Grouping Data topic in our documentation site.
We can create different types of columns in C1GridView. Following documentation link provides detailed information on the available column types for C1GridView. In these different types of columns, C1TemplateField is very popular as it can be customized to meet various user requirements. We can include controls in the ItemTemplate Property of C1TemplateField and bind it with data that will be shown when the grid loads. We can also include controls in EditItemTemplate Property of C1TemplateField and these controls can be used as an editor for the grid. See the documentation topic "Adding Controls to a column" for details on how you can create a C1Templatefield, include them in C1GridView and add controls to this column.
Chart control is popularly used in various domains to analyze data. They are often used to ease understanding of large quantities of data and the relationships between parts of the data.
Users often want to display both positive and negative values on the Bar chart and require the bars to be plotted on either side of the X Axis depending on whether the Y value is positive or negative. This can be achieved by setting the Position property of the X Axis to 0. This results in X Axis to be plotted from the position where Y value is 0.
Designing a chart for a Modern UI-style application should be one of the easiest tasks in a developer’s lifetime. The Modern UI (formerly Metro) style that you know has very simple and minimalistic qualities to it. Some of those qualities include:
Carousel control in Wijmo suite provides us the ability to dynamically display text, images, controls, and more over web browsers. Typically users display images by directly providing the ImageUrl to the Carousel control and the images are then loaded onto the browser. However there might be cases when a user may want to directly pull the images from a database and then display them in the Carousel.
Spread for ASP.Net control provides various editing options for its users as per their requirements. These editing options come in the form of various Cell types which can be set in a sheet to customize how the user interacts with the information in that cell. For more details on the different available CellTypes, you can refer to this documentation link.
If you ever wanted to export SectionReports from ActiveReports 7 to JPEG image files and thought that it was a dead end, then you may not be aware of the the flexibility that ActiveReports offers. Let's get into the technicality of this subject and make our way through exporting SectionReports to JPEG Files.
ComponentOne Gauges offer an interesting way to visualize your data. The C1Gauge libraries for Silverlight, WPF, Windows Phone and WinRT are all identical so I will refer to them as a whole as Gauges for XAML. While the gauges do not have built-in animation features, they do support standard XAML animation techniques. This blog post describes a common scenario and shows how you can apply an animation to the gauge pointer upon value change.
ActiveReports 7 is natively not supported in the WPF environment. However it can be hosted in WPF with the help of WPF's WindowsFormsHost control which allows you to host a Windows Forms control inside WPF applications. You just need to host the ActiveReports 7 Viewer control (which is responsible for rendering the report) using the WindowsFormHost control and you can view ActiveReports 7 reports in WPF .
Sorting is currently not supported in the Section Based Reports available within ActiveReports 7. The most common approach which a user has to take to sort a report is to use the Order By clause while defining the SQL query for the data source. This approach works well for a static sorting on a particular column. However, a user is still not able to interact with the report on the viewer and sort it once it is displayed. So what if user wants to sort any column of the report in Ascending/Descending order but only after it gets displayed on the Windows Viewer?