Announcements
No record found.
Hi, I am new to AX. I have a class extends Runbase, I am getting value from dialog box. In dialog box 3 text field, ok and cancel button are there. If I press enter key at text field the application crashes. If I click Ok button it is working fine.
I want to set by default Ok button, if enter key is pressed at any of the text field.
By default, clicking Enter should cause OK button to be clicked. Perhaps you made some mistake in your code.
Check Tutorial_RunBaseBatch class, there it works.
Hi praveenrajms,
Please check the event viewer for more details.
Nope, In Tutorial_RunBaseBatch class, if I press enter key, application crashes.
Then it's something wrong in your system. Not in your class.
Can I create a separate form for this dialog box and call the class from that form?
Sure. But if all RunbaseBatch based dialogs are crashing in your system when you press enter, I warmly recommend to look into it. This has much wider impact in your system than just the one dialog that you are implementing now.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Giorgio Bonacorsi 681
André Arnaud de Cal... 446 Super User 2026 Season 1
Syed Haris Shah 202 Super User 2026 Season 1