Search This Blog

Wednesday, July 9, 2014

How to pass Control Values in Form to class in AX

Step 1:

Write the method in form level like :
public str control()
{ 
return control.Text();
}

Step 2:

Write this code in class level where we need to use this value:
if(formHasMethod(args.caller(), identifierstr(MethodName)))
{ 
strcustname = args.caller().MethodName();
}


Happy Dazzles..!!


No comments:

Post a Comment