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
250
Remain in Edit mode only - TextBoxTool in UltraToolbarsManager popup
posted

I have a popup menu with textboxTool -
a) UltraToolbarsManager rightClickPopup;
b) TextBoxTool textBoxTool3
c) rightClickPopup.Tools.AddRange(textBoxTool3)
I want that after user enters edit mode in 'textBoxTool3' then conditionally he should not be able to leave the edit mode of 'textBoxTool3'. He should remain in that edit box of 'textBoxTool3' of the rightClickPopup
So this means that he will remain in edit mode of 'textBoxTool3' even if he tried to mouse click any where or use ESC key or press Enter key etc.


I tried one following thing, but this does not work -
textBoxTool3_BeforeToolExitEditMode {e.Cancel = true}.
But the 'rightClickPopup' even gets close leave aside remaining in edit mode of 'textBoxTool3'. So this has not at all solved the problem.

Parents
  • 250
    posted

    Further, call stack says that it is Force Exit and hence now I understand that why BeforeToolExitEditMode will not help.

    Call Stack:

    EmbeddableEditorBase.OnBeforeExitEditMode(ref bool cancel = false, bool ...
    EditorWithText.OnBeforeExitEditMode(ref bool cancel = false, bool forceE...
    EmbeddableEditorBase.ExitEditMode(bool forceExit, bool applyChanges) + 0...
    Infragistics.Win.UltraWinToolbars.ToolBase.ExitEditMode(bool forceExit, ...
    Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.ForceExitEditMode...

     

     

Reply Children
No Data