Can we retrieve if a CancelEvent has been triggered ( on a page with the page wizard control ) in a custom webpart with a macro? I want to make an other web part visible when the page is invalid by using a macro expression.
Do I need to write a custom macro for it?
I'm not sure if you can capture this event in a macro directly. However, you could write to viewstate or session in the cancel event of your custom webpart and then have a macro to retrieve the viewstate or session value.
I thought the same thing, but after implementation I realised the macro is read before the validatestepdata occurs.
Please, sign in to be able to submit a new answer.