on 11-05-2007 4:18 AM
Hi,
Can any one tell me how to talk between two controller.....
Help will be awarded.
Regards,
Gurprit Bhatia
Hello,
If your talking about different controllers on the same component, you probably have the default component controller, and one or more custom controllers.
You can call a method directly from a controller to another controller: wdThis.wdGetXXXController.<MethodName>, or raise an event, and have it handled on the other controller.
regards,
arnold
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gurpit,
If you want to share data between 2 controllers then you can simply do that by providing a data link between the controllers in your data modeler.
If you want to use some methods of one controller in another then you can do it using
wdThis.wdget<controller name>().<method name>();
If your question is something different than this then please elaborate your requirement.
Regards,
Murtuza
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.