You can pass parameter A to a user function
inside the parameter B value expression and perform the described logic there.
It is also possible to use Parameters.ParameterA.Value.Length
in your expression. This will give the number of records in parameter A.
We do not provide any events for the report parameters and using events is not recommended in general.
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.