How to pass control value from from to class in AX2009
Step :1
Write the method in Form level like :
public str method1()
{
return control.Text();
}
Step 2:
Write this code in class level where we need to use the value
if(formHasMethod(args.caller(), identifierStr(MethodName)))
{
strcustname = args.caller().MethodName();
}
Happy Daxing...!
Step :1
Write the method in Form level like :
public str method1()
{
return control.Text();
}
Step 2:
Write this code in class level where we need to use the value
if(formHasMethod(args.caller(), identifierStr(MethodName)))
{
strcustname = args.caller().MethodName();
}
Happy Daxing...!
No comments:
Post a Comment