Hi,
I've a WinGrid which has a column with a valuelist set to a DropDown control.
I've set MaskInput on the wingrid column to allow only double, and I've also set MaskInput on the drop down's column to allow only double. Unfortunately there is not MaskInput on the DropDown itself.
The drop down is data binded, and I've set the Display and Value Members to be a DataTable column, whose values are also double, but I cannot achieve what I want - the control still accepts all characters and not just doubles.
Does anyone know how to achieve this? I'm using Win Client 9 volume 2.
Hello,
Were you able to resolve your issue by following what Mike has suggested? There is also a similar KnowledgeBase article on this topic. Below is the link for KB article.
http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=7698
There's no way to do this. DropDown lists and masking are mutually exclusive, because both of these features are handled by editors and they are two different editors.
What you might be able to do is use an UltraNumericEditor control and use the ButtonsRight collection to create a DropDownEditorButton. You could then put a control onto this DropDownEditorButton, such as an UltraWingrid control, to provide the list you want. Then you set the grid column's EditorControl property to the UltraNumericEditor.
You will need write some code to determine what happens when the user selects a row in the dropdown grid, of course.