web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

On Menu Item Button call some custom code before opening form(which is on Menu item button)

(0) ShareShare
ReportReport
Posted on by 141

Hi Everyone,

on On_clicked event of menu Item button i have written some validation. but that validation gets called after the opening the form (which is on Menu item button) I need to call validation before form opens. can anyone done this already ? Please suggest . Thanks in Advance.

*This post is locked for comments

  • Aravind Elangovan Profile Picture
    85 on at

    Hi,

    You can write your validation on the form init method which is mapped on the menu item button, or else Write your validations before the super() method is called on the clicked method

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Prashant Singh Profile Picture

Prashant Singh 2

#1
nmaenpaa Profile Picture

nmaenpaa 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans