Hi.
I'm using 2017 R2.
want to open new form, when cell double click. but I need to cell NOT on read only.
In other word, I'm need a RadGridView, with a cell edit mode, and double click event to open a new form.
im using snipped code, but this code have a problem, when user click on cell, event counter +1 , and after 2 or 3 One click on cell, and after double click on a cell, event void HostedControl_DoubleClick run for event count.
01.private void radGridView1_CellEditorInitialized(object sender, Telerik.WinControls.UI.GridViewCellEventArgs e)02. {03. RadTextBoxEditor editor = e.ActiveEditor as RadTextBoxEditor;04. RadTextBoxEditorElement element = editor.EditorElement as RadTextBoxEditorElement;05. if (e.ColumnIndex == 0 || e.ColumnIndex == 1)06. {07. if (editor != null)08. {09. element.TextBoxItem.HostedControl.DoubleClick += new EventHandler(HostedControl_DoubleClick);10. }11. }12. }13. 14. void HostedControl_DoubleClick(object sender, EventArgs e)15. {16. if (new FrmGheteDir().ShowDialog() == DialogResult.OK)17. {18. _gheteId = FrmGheteDir.Gheteid;19. var ghete = (from u in _db.GheteStore where u.GheteId == _gheteId select u).First();20. radGridView1.CurrentRow.Cells[0].Value = ghete.GheteId;21. radGridView1.CurrentRow.Cells[1].Value = ghete.GheteList.Name;22. radGridView1.CurrentRow.Cells[3].Value = ghete.LastPriceIn;23. 24. }25. }