cancel
Showing results for 
Search instead for 
Did you mean: 

How to call an event in init

Former Member
0 Kudos

Hi all,

I want to call an event like onActionfirst(wdEvent) in the init which is defined some where in the application. It throws the error that wdevent cannot be resolved.

how to resolve this issue,If anybody knows plz tell me.

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

While calling the event from wdDoInit(), you can just say


wdThis.onAction<event name>(null);

But make sure that within the event handler, wdEvent is nowhere used.

Regards,

Satyajit.

Former Member
0 Kudos

Thanks a lot for your quick reply.

I want to call an event inside that event.

If you know please tell me.

former_member189631
Active Contributor
0 Kudos

Hi,

U can Call a Event By Invoking that Event .This Canb done By

wdThis.onActionAnEvent(Parameter List if Required);

If u want to call a event Inside another Event u can paste above code inside with other Event.

That is,

MyEvent ()

{

wdThis.onActionAnEvent(Parameter List if Required);

}