To reproduce: - Open the Excel Like Filtering demo - Open a the excel like filtering dialog and select Available Filter > Custom - Select Contains in both drop downs and press OK
The following code exhibits the problem. All you have to do is click the Wrapper column cell and bring down the dropdown. Then select the Phase column. You will get the app to crash in the FilterWrappers method. namespace RadControlsWinFormsApp2 { public partial class Form1 : Form { private String[] dataPhases = null; private String[] dataWrappers = null; public class Data { public Data(int ID, string Phase, int Wrapper) { this.ID = ID; this.Phase = Phase; this.Wrapper = Wrapper; } public int ID { get; set; } public String Phase { get; set; } public int Wrapper { get; set; } } public Form1() { InitializeComponent(); this.radGridView1.DataSource = new Data[] { new Data(1, "A", 1), new Data(2, "B", 2) }; } private void Form1_Load(object sender, EventArgs e) { GridViewComboBoxColumn columnPhase = radGridView1.Columns["PHASE"] as GridViewComboBoxColumn; dataPhases = new String[] { "A", "B", "C", "A/B/C" }; GridViewComboBoxColumn columnWrapper = radGridView1.Columns["WRAPPER"] as GridViewComboBoxColumn; dataWrappers = new String[] { "", "1", "2" }; columnWrapper.DataSource = dataWrappers; columnPhase.DataSource = dataPhases; } private void radGridView1_CellEditorInitialized(object sender, Telerik.WinControls.UI.GridViewCellEventArgs e) { if (e.Column is GridViewComboBoxColumn) { RadDropDownListEditor editor = e.ActiveEditor as RadDropDownListEditor; if (editor != null) { RadDropDownListEditorElement editorElement = (RadDropDownListEditorElement)editor.EditorElement; editorElement.Filter = null; } } switch (e.Column.Name) { case "WRAPPER": { GridViewComboBoxColumn cbc = e.Column as GridViewComboBoxColumn; cbc.DataSource = dataWrappers; RadDropDownListEditor editor = e.ActiveEditor as RadDropDownListEditor; if (editor != null) { RadDropDownListEditorElement editorElement = (RadDropDownListEditorElement)editor.EditorElement; editorElement.Filter = FilterWrappers; } } break; case "PHASE": { GridViewComboBoxColumn cbc = e.Column as GridViewComboBoxColumn; cbc.DataSource = dataPhases; } break; } } private bool FilterWrappers(RadListDataItem item) { int nWrapper = 0; if (item.Value.ToString() != String.Empty) nWrapper = Convert.ToInt32(item.Value); return true; } } }
There should be an option which allows the users to turn off the escaping of special characters when exporting to ExcelML.
1. Create new project and add RadButton. 2. On button click show the same instance of RadColorDialog. 3. Before calling the ShowDialog method change the SelectedColor property to a random value. 4. Run the project and click the button several times.
Add a feature for default image similar to the DefaultText.
Currently there is no way to sort group rows in RadGridView.
Expanding a newly added row in a grid with ChildViewTabsPosition set to Left or Right, InvalidOperationException is thrown. The issue can be reproduced in both bound and unbound mode.
1. Create new project with RadGridView. 2. Set the SelectionMode to CellSelecitonMode. 3. Set the MultiSelect property to true. 4. Run the project, select some cells, right-click to show the context menu and select the Copy option. 5. Open a notepad and click Paste.
Steps to reproduce: 1. Add a RadGridView to a form and fill it with data so there would be a vertical scroll bar 2. Set AutoSizeRows to true 3. Run the project and call RadGridView.PrintPreview() method 4. You will see that only the rows that are visible in the RadGirdView or have been scrolled to will have a correct height.
Steps to reproduce: 1. Add a RadGridView to form 2. Add a hyperlink column and set its width to say 100. 3. Add a row in the column with a text measuring than 100 in width. 4. Run the project and you will see that the text will be cropped without "..." in its end.
1. Create a new project and open a form at design time 2. Drop RadGridView on the form 3. Add some columns 4. Open the Columns collection for edit 5. Select a column 6. Select the FilterDescriptor property and try to show its dialog
ADD. RadTimePicker localization provider
This issue appears when using hierarchy and the row height is customized.
When i press control-c at a gridviewcell and paste it to notepad or another telerik control it looks like this.if i paste it to excel it works fine.
FIX. RadGridView - when AlternatingRowColors is enabled and the grid is sorted the colorized rows are wrong.
Currently one can only set theme of the RadPrintPreviewDialog.
1. Create a new project with RadGridView and setup binding 2. Enable filtering 3. On a button click call the PrintPreview method 4. Run the application and click the button 5. Close the print dialog and click on a cell
Selfreference: Item.ID Item.Propertys.ParentID If Parent ID == null then since the new Update I will recive : bei Telerik.WinControls.UI.GridViewSelfReferenceComparer.Compare(GridViewRowInfo x, GridViewRowInfo y) bei Telerik.Collections.Generic.AvlTree`1.LastIndex(ValueT value) bei Telerik.Collections.Generic.AvlTree`1.InsertWithDuplicates(ValueT value) bei Telerik.Collections.Generic.AvlTree`1.Add(ValueT item) bei Telerik.WinControls.UI.GridViewSelfReferenceDataProvider.Refresh() bei Telerik.WinControls.UI.GridViewTemplate.Telerik.WinControls.Data.IDataItemSource.Initialize() bei Telerik.WinControls.Data.RadListSource`1.Initialize() bei Telerik.WinControls.Data.RadListSource`1.Bind(Object dataSource, String dataMember) bei Telerik.WinControls.Data.RadListSource`1.set_DataSource(Object value) bei Telerik.WinControls.UI.GridViewTemplate.set_DataSource(Object value) bei Telerik.WinControls.UI.RadGridView.set_DataSource(Object value) bei LocalSimulation.Form1.worker_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e) in D:\Programming\REPOSITORY\trunk\AAARISK WEBAPP\LocalSimulation\Form1.cs:Zeile 142. bei System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e) bei System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg) So I changed Parent = null to Parent =0 and it works .
ADD. RadGridView - add support for scrolling the grid while dragging in SelectionMode = CellSelect
1. The RowsChanging event is not fired when rows are deleting in multi-selection mode. 2. The last selected row is already deleted in the RowsChanging event in multi-cell selection mode.