I am working on a custom theme based on ControlDefault
I have a form containing multiple grids and i want to use the HideSelection property to remove all row and cell highlighting when focusing on a different grid.
I've managed to get the theme to do this mostly, the only part i cant figure out is how to remove the cell highlight (see attached screen shot).
I've removed the border from GridDataCellElement.IsCurrent, but left the one for GridDataCell.IsSelected. it seems like no matter what i try, the border still remains.
I'm having trouble with the edit functionality of the RadmaskedTextBox. We have a masked textbox for phone numbers with the following mask: "(##) #### ####" where the area code is in the brackets, followed by the actual number.
The problem is that when this textbox is populated with data from the database, sometimes the phone number does not have the area code, so it appears like this: (12) 1234 12__. When the textbox is selected and the caret placed at the start of the text, instead of inserting the missing area code at the start, it over-writes the existing data.
I have tried setting the textbox mask to be "##########" and the displayMask to be "(##) #### ####", but it still pads out the missing characters and over-writes the data when edited.
Is there a way of doing this? Or should we just go back to using standard textboxes?
Hi, Ihad versionQ22011WinFormsVISUALStyle Builder,and change to theNEWVERSION OFQ32011, butthere were some problems withDropDownButtonbecause I can notchange the propertiesof the buttonor savethe changes.This problem only happenswith this element(DropDownButton).How can Isolve the problem?
Hi:
How to open a new form when cell-double click in RadGridViwe?
It seems that it only fires if the cells column is readonly.,but if the cell in editmode ,the cell-double click does not occur .
My user want to:
1. Cell is put into editmode when cell-double click
2. Cell is put into focus when cellclick
3. User can edit cell or open a new form when cell-double click.
I need a grid which will persist to the database every time a cell is edited
i've managed to achieve this for existing rows:
- handle the CellEndEdit event
- grab the DataBoundItem
- send it off to the data layer for updating
this does not work when editing cells in the "New row" as the DataboundItem property is null. I noticed that if i navigate to a different row, from this point the DataBoundItem is NOT null and updates will work.
Is there any way to make this happen on CellEndEdit, can i force the grid to create a new item in the datasource at this point instead of waiting for the user to navigate away from the row?