Hi to all,
I have this method, I'm trying to format in backcolor only column editable.
I setted all columns with ReadOnly = True, and then I setted only particular Column ReadOnly = False
Now I would test if I format cells by Name or by ReadOnly status, but in both ways, BackColor appears Yellow only when I doubleclick into editable cell.
I would show to user the editable columns with Yellow backcolor.
How can I do?
01.Private Sub UpdateCellFormatting(ByRef e As CellFormattingEventArgs)02. 03. Dim _IsEditable As Boolean = False04. 05. If _SelectedItem IsNot Nothing Then06. 07. If _SelectedItem.Personalizzazione = ListinoCliente.StringaListinoStandard Then08. 09. If e.CellElement.ColumnInfo.FieldName = "PrezzoListino" Then10. _IsEditable = True11. End If12. 13. Else14. 15. If e.CellElement.ColumnInfo.FieldName = "Sconto" Then16. _IsEditable = True17. End If18. 19. End If20. 21. End If22. 23. If _IsEditable Then24. e.CellElement.BackColor = Drawing.Color.Yellow25. Else26. e.CellElement.ResetValue(LightVisualElement.BackColorProperty, Telerik.WinControls.ValueResetFlags.Local)27. End If28. 29.End SubHow can I change font of filter in radgridview? Actually I want change font of texts like "no filter", "contains","Does not contain","custom", "Null" and ...

Hi
I am having big issues (lack of knowledge) with creating combo boxes on a gridview bound to a dataset, Can someone please point me in the right direction?
My current setup of the gridview is a SQL view that fills a dataset, which is then bound to the gridview. I have a column called 'Course', which is a column generated within the view that uses the Course_ID from the main User Table to lookup the Course name from the Course Table (see attachment). I would the Course column to be a combobox, when I auto generate the columns from the dataset it creates it as a textbox currently; and for the course names (from the course table) to be the options in the drop down . I would then like the user to see the selected options after a dataset update. Is there a way of doing this?
Thank you.




| private void UnselectCells() |
| { |
| SchedulerMonthViewElement monthView = this.schRates.SchedulerElement.ViewElement as SchedulerMonthViewElement; |
| Telerik.WinControls.RadElementCollection childrenCollection = monthView.Children[1].Children; |
| foreach (MonthCellElement cell in childrenCollection) |
| { |
| if (cell.Header.Selected == true) |
| { |
| cell.Header.Selected = false; |
| } |
| if (childrenCollection.IndexOf(cell) == 34) |
| { break; } |
| } |
| } |
| private void UnselectAppointments() |
| { |
| foreach (IEvent appointment in this.schRates.ActiveView.Appointments) |
| { |
| if (appointment.Selected == true) |
| { |
| appointment.Selected == false; |
| } |
| } |
| } |

I have a grid that contains a dropdown column as bellow:
GridViewComboBoxColumn type = new GridViewComboBoxColumn();type.Name = "Type";type.HeaderText = "Type";type.ValueMember = "Id";type.DisplayMember = "Type";type.DataSource = new string[] {"A", "B", "C"};type.DropDownStyle = RadDropDownStyle.DropDownList;grid.Columns.Add(type);Suppose the user adds two new rows and selects "A" from dropdown for the first row and selects "B" from dropdown for the second row. I don't know how I can save the grid and then load it later. I should say that I know how to use Linq to save data into SQL database, but I don't know how I can get the values that the user selected and how to load data into grid later. Please help me.

Hello Telerik
I would like to have an editor in a GridView for selecting one business object (DataBase Key, Name, Code (like an EAN CODE) in a collection. As The name is also considered to be an unique Key, the editor is based on a textbox which display the name of a product. The textbox should have a autocomplete feature (suggest with a dropdown) but the suggestion should be based on the whole list of product filtered by the Name or the Code.
The editor is valid only if the text is matching a product name (return the matching DataBase key for the binding) or is empty (return a nullvalue for binding).
What is the best way to reach this objectif ? Should I start from a RadDropDownListEditor, a RadTextBoxControlEditor, a RadTextBoxEditor ?
Thanks for your support