Hello,
I am trying to see if I can create an inherited control from the DataGridViewTextBoxColumn (so that I can have the functionalities already present in this for text handling), but in the “Add New Item” -> Wisej3 -> Inherited Control -> Type Picker I only see the following options (that start with DataGridView):
DataGridView
DataGridViewComboBoxEditingControl
DataGridViewDataTimePickerEditingControl
DataGridViewMaskedTextBoxEditingControl
DataGridViewNumericUpDownEditingControl
DataGridViewTextBoxEditingControl
DataGridViewTextBoxMultilineEditingControl
While I am able to derive from Wisej.Web.TextBox to create our own custom TextBox class and use it during design time, I can’t find a way to do the same for a TextBoxColumn. Is the TextBoxEditingControl = TextBoxColumn? When I use that, the custom column class does not show up for adding in the Columns Editor (see attached screenshot).
How did you derive it from DataGridViewTextBoxColumn? Did you manually do this? I am not able to choose DataGridViewTextBoxColumn in the Type Picker. When I manually create the public class it does show up, but when I am switching between designer mode and code mode, it keeps messing up the designer.cs file.
Hi Aravind,
I just tried here deriving from DataGridViewTextBoxColumn and it showed up in the Column Editor immediately.
Is your class declared as public? If it is please share some code so we check it.
Best regards
Frank
Please login first to submit.