Cross tab data control for winform.net 2.0 - winforms

Could anyone suggest me any winforms controls for showing cross tab data in .net?
Updates:
1. The control should be editable
2. Binding support will be add-on feature.

If you only need a read-only display of the data, it might be easiest to use the ReportViewer control with a Matrix.

Related

Using DevExpress ChartControl and Data Grid in WPF

How to use Data Grid as data source, and show it to DevExpress ChartControl in WPF? Or, you have alternative solution, to show chart from data grid in WPF?
Although it is possible to bind the DevExpress ChartControl and GridControl to the same view model collection, you can also use the standard WPF binding syntax to link the GridControl to the ChartControl.DataSource property (DataSource="{Binding ElementName=grid, Path=SelectedItems}").
This approach is shown in the "Data Grid Charting" ChartControl demo module from the DevExpress Demo Center. In this case, the chart's layout is automatically updated based on the actual grid selection state.
DataGrid should not be a data source for your ChartControl.
I assume that you using MVVM pattern for WPF application.
If you don't know about MVVM please read:
MVVM: Tutorial from start to finish?
In short your DataGrid from "View" is bind to a data source from "ViewModel" and ChartControl should follow the same principle, it should be bind to a data source from "ViewModel" not DataGrid itself.
Its the same as asking how do I print document from my monitor (you could do this by scanning your monitor and printing :) ).
You don't connect you printer to you monitor in order to print, you use same document as "data source" from your hard drive to display it on monitor as well as print it on printer.
Starting from DevExpress version 15.2, Report Generator tool allows you to generate a report from the DevExpress Grid View.
See the Advanced Grid Printing and Exporting help topic for more details. However, this approach will not work for the standard DataGridView. In this case, you can either use the Report Wizard to bind a report to your DataGridView's data source and generate required layout. Alternatively, you can create the report layout manually. Review the approach described in the How to create a report dynamically article.
For specific to WPF, refer below documentation links:
Grid-Based Report Generation
Please try these solutions and let me know if any of them helps.

Filtration for List view data upon List view Header column clicks in WINFORMS

I dont know whether this is possible or not, But i just want your suggestions on this ..
Here is what I would like to be able to do. Not sure if this functionality is built in or if I will need to use a combination of any controls/tools.
I want to be able to filter a listview data.. have it filter the listview accordingly on click of listview columns header.I want to be able to use checkboxes in dropdown of listview header column such that I can filter data easily.
Best Example: Control Panel-->Uninstall a Program ,Where a list of uninstall programs available in listview for computing filtration upon click of any header.
I want this in Windows Forms Applications C# Visual Studio 2010
If solution is possible, pls. share the site links or any free tools also as well.
Here is the same idea for a DataGridView http://www.codeproject.com/Articles/33786/DataGridView-Filter-Popup However, you would have to write the code to do the filtering as a winforms ListView does not supporting binding to a DataTable.
ObjectListView -- an open source wrapper around a .NET ListView -- supports filtering out of the box.

What is the best way to make a wizard using native WPF controls

I'm new to WPF and never happened the need for me to create a wizard in WPF. I want to know what control to use to make a simple wizard in WPF that I can collect information on each page and finalize an operation in the last page(step). I actually want to make it using native WPF controls. I don't know, like using page navigations or so. Any native wpf ideas?
You can make use of Tab Control for making a wizard.
For moving to the next screen on a particular index can bind the SelectedIndex property of the tab control to a property in the view model and if you do not wish to display the tab items in UI can set its height to 0.
Check out the WPF Extended toolkit. It has a built in Wizard control.
Wizard

Where can i find Free WPF controls

Is there any site available where I can find free WPF controls like Griview ? I am currently working on a complex project where I need a customizable WPF Gridview like telerik
You can use controls from the WPF Toolkit as well as Extended WPF Toolkit.
Have a look at the controls in AvalonControlsLibrary on code plex, it is having a DataGridView control apart from other controls. -
http://avaloncontrolslib.codeplex.com/wikipage?title=Home&ProjectName=avaloncontrolslib
DataGridView
DataGridView is a maybe a misleading name for this control. This control is far from being the same as the WinForms DataGridView (maybe someday it will J). Basically this control is a WPF ListView control but it is capable of auto generate the GridViewColumns for you. It generates the columns by looking at the objects’ properties. You can also specify how you generate the columns by decorating your properties with a custom attribute. For more information have a look at this post. http://marlongrech.wordpress.com/2007/09/01/listview-with-auto-generation-of-column-enable-disable-columns/
Similar SF question - Where can I find free WPF controls and control templates?
On codeplex.com and codeproject.com. However the best always cost money.

WPF and XSL transformation of XML data

Can I create WPF controls by using XSLT to transform XML Data?
If I can't do that, then maybe I could use a web browser control in a WPF grid to display the controls I create from XSLT (I am doing this in an ASP.NET application, so I am familiar with that process) but, how would I respond to events triggered in the web browser control? (if the user clicks a button, etc)? Could I also do the same thing in a Windows Forms application?
If I can reuse the XSLT and XML from my web application and use it to generate the display in my desktop (stand-alone, disconnected) application then this would be the optitmum situation. I am just not sure if it can be done in a way to allow me to create code to handle the events.
Has anyone seen a tutorial or anything that shows this process. I have been looking for a while, and haven't seen any demonstration of creating controls using xslt and either adding them to the grid (WPF) the form (Windows Forms App) or the Web Control (both) and will allow me to handle the events generated from the page.
Thanks for any advice you can give.
You can certainly transform XML into XAML, and then use a XamlReader to deserialize it into WPF objects.
But even I, who have used XSLT for all kinds of things you wouldn't think it could be used for, wouldn't do this. WPF already has a template-based mechanism for transforming XML into UIs, through data binding and the XmlDataProvider. It works really, really well, once you understand it.

Resources