About 55 results
Open links in new tab
  1. The Difference Between a DataGrid and a GridView in ASP.NET?

    Like the DataGrid control, the GridView control was designed to display data in an HTML table. When bound to a data source, the DataGrid and GridView controls each display a row from a DataSource …

  2. How to exclude NewItemPlaceholder in a WPF DataGrid from being ...

    Jun 29, 2025 · There are two different NewItemPlaceholder. One in DataGrid, the other in CollectionView. Almost always used from DataGrid, but in general the second one can be …

  3. How do I make XAML DataGridColumns fill the entire DataGrid?

    I am using DataGrids in XAML (not Silverlight) with resizable columns, the DataGrid will expand if the user resizes the screen. Currently if the widths of all the DataGrid columns are less than the

  4. Change DataGrid cell colour based on values - Stack Overflow

    Apr 5, 2011 · 177 If you try to set the DataGrid.CellStyle the DataContext will be the row, so if you want to change the colour based on one cell it might be easiest to do so in specific columns, especially …

  5. Repeater, ListView, DataList, DataGrid, GridView ... Which to choose?

    Sep 26, 2008 · So many different controls to choose from! What are best practices for determining which control to use for displaying data in ASP.NET?

  6. How can I set the color of a selected row in DataGrid

    In my case, the reason was that I also had a CellStyle in my datagrid, and the CellStyle overrode the RowStyle I was setting. Interestingly so, because the CellStyle wasn't even setting the background …

  7. c# - Datagrid binding in WPF - Stack Overflow

    The DataGrid is derived from ItemsControl, which relies on its ItemsSource property to define the collection it binds its rows to. Hence, if list isn't a property of an object bound to your control's …

  8. c# - Disable selecting in WPF DataGrid - Stack Overflow

    Mar 23, 2010 · Learn how to disable selection in WPF DataGrid using C# with practical solutions and examples discussed by the community.

  9. How can I paginate a WPF DataGrid? - Stack Overflow

    Apr 24, 2009 · How can I set paging in a wpf DataGrid? The code project article above is quite good for getting this done with ADO tables. While for most applications, it is likely to work great, and is easy to …

  10. Radzen DataGrid Custom Filtering

    Nov 18, 2021 · I am moving to Blazor and attempting to work out how to use custom filtering in Radzen's DataGrid. Here is an example of what I am looking to do (from the old app I need to migrate): As you …