Macro for Pagewizard validation

Tommy De Notarpietro asked on March 15, 2017 16:22

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?

Recent Answers


Suneel Jhangiani answered on March 16, 2017 12:00

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.

0 votesVote for this answer Mark as a Correct answer

Tommy De Notarpietro answered on March 16, 2017 14:14

I thought the same thing, but after implementation I realised the macro is read before the validatestepdata occurs.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.