
Hello,
Having a datasouce implementing IEditableObject. Is there a way with the gridview to call the CancelEdit on a row scope ?
I have no problem to validate a cell value and to cancel the change when it is not valid. But I have no idea how to do this on a row scope.
Something like the sliverlight GridView (first ESC cancel the cell editor, second ESC cancel the row changes)
http://demos.telerik.com/silverlight/#GridView/Commands
My business need is the following :
For a given day, I should record a list of time range object having two properties (StartTime, EndTime). When a Cell is validated, I check that the editor could be converted to a Timespan. When a row is validated I check that the StartTime and the EndTime are not null, that the StartTime is not bigger than the EndTime and to check that there is no range overlap with another Row.
Thanks for your support

Hi Telerik Team,
I have a RadMaskedEdit on a form.
When you check the Modified
flag (radMaskedEditBox1.Modified ) it will true or false based on the typing something on radMaskedEditBox.
but if you set the Masktype property to Numeric, you will only get false return
value for Modified property.
Any suggestions?
Thanks,
Abbas





Hi,
I would like to store the color resource property on a SQL database like I am doing with the resource Id and name, but I am wondering what data type should I use on the columns definition of the table in SQL. Could anyone help?
Thanks,
Rafael

Hi,
I have a problem with RadRadioButton and RadToggleSwitch.
I would like to change the look of the control depending on the ReadOnly state.
But I can not find an event ReadOnlyChanged.
I also try to catch all property changes, but no event is registered when I change the ReadOnly.
((Telerik.WinControls.UI.RadRadioButtonElement)(x.GetChildAt(0))).RadPropertyChanged += ...((Telerik.WinControls.UI.CheckBoxLayoutPanel)(x.GetChildAt(0).GetChildAt(1))).RadPropertyChanged += ...((Telerik.WinControls.Layouts.ImageAndTextLayoutPanel)(x.GetChildAt(0).GetChildAt(1).GetChildAt(0))).RadPropertyChanged += ...((Telerik.WinControls.UI.RadRadiomark)(x.GetChildAt(0).GetChildAt(1).GetChildAt(1))).RadPropertyChanged += ...((Telerik.WinControls.UI.RadRadioButtonElement)(x.GetChildAt(0))).PropertyChanged += ...((Telerik.WinControls.UI.CheckBoxLayoutPanel)(x.GetChildAt(0).GetChildAt(1))).PropertyChanged += ...((Telerik.WinControls.Layouts.ImageAndTextLayoutPanel)(x.GetChildAt(0).GetChildAt(1).GetChildAt(0))).PropertyChanged += ...((Telerik.WinControls.UI.RadRadiomark)(x.GetChildAt(0).GetChildAt(1).GetChildAt(1))).PropertyChanged += ...item.PropertyChanged += ...
How can I display multiple lines of text in a column group header? I can't see my "Line2" text in the sample below
public Form1() { InitializeComponent(); ColumnGroupsViewDefinition view = new ColumnGroupsViewDefinition(); List<String> cols = new List<string> () {"column2", "column3"}; view.ColumnGroups.Add (CreateColGroup (cols, "Customer Contact")); view.ColumnGroups.Add(CreateColGroup(new List<string> (){"DNE", "column1"}, "")); this.radGridView1.ViewDefinition = view; }private GridViewColumnGroup CreateColGroup (List<string> cols, string groupName) { var colGroup = new GridViewColumnGroup(groupName); var groupRow = new GridViewColumnGroupRow(); foreach (var colName in cols) { if (this.radGridView1.Columns[colName] != null) { groupRow.Columns.Add (this.radGridView1.Columns[colName]); } } foreach (var col in groupRow.Columns) { col.HeaderText += "\n Line2"; } colGroup.Rows.Add(groupRow); return colGroup; }