Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1120
Custom events not firing
posted

Hi

I am setting a UltraNumericEditor to a column in grid as fallows

 

            UltraNumericEditor editorForDecimalColumns = new UltraNumericEditor();

            editorForDecimalColumns.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;

            editorForDecimalColumns.MaskInput = "nnnnnnnnn.nnnnnnnn";         

            ultraGridRow.Cells["MyColumn"].EditorControl = editorForDecimalColumns;

 

 

and added the events as fallows

 

                   editorForDecimalColumns.AfterEnterEditMode += new                                    EventHandler(editorForDecimalColumns_AfterEnterEditMode);

            editorForDecimalColumns.Click += new EventHandler(editorForDecimalColumns_Click);

            ultraGridRow.Cells["MyColumn"].EditorControl.MouseClick += new MouseEventHandler(EditorControl_MouseClick);     

 

 

but the problem is none of the events are getting fired when we click or enter the cell in MyColumn in grid.

I want to select the text in the cell of MyColumn if we click it for first time.

Can someone help me to select the entire text in the ultraNumericEditor or can why the events are not firing.

Thanks in advance

Navi

 

Parents Reply Children
No Data