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
755
Stay focus when field is inital
posted

http://stackoverflow.com/questions/26180151/stay-focus-when-field-is-inital

Thanks

Parents
  • 35319
    Verified Answer
    posted

    Hi Jean-Pascal,

     

    Thank you for your post. I have been looking into your requirement and instead of handling the event you could make the editor stay in edit mode, if its value is null like e.g.:

     

       private void DataPresenterBase_EditModeEnded(object sender, Infragistics.Windows.DataPresenter.Events.EditModeEndedEventArgs e)

            {

                if (e.Cell.Value == null)

                {

                    e.Editor.StartEditMode();

                }

            }

     

    Let me know, if you need any further assistance on this matter.

     

     

Reply Children