Notifications
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 467 Super User 2025 Season 2
Martin Dráb 420 Most Valuable Professional
BillurSamdancioglu 241 Most Valuable Professional