We would add the confirmation dialog at the Ajax submit link if happens some conditions.
Is it possible to add a show attribute in the confirmation dialog?
We try to add a show attribute and add a expression (javascript) in the confirmation dialog:
If(toShow,"<script>var click" + Replace(ButtonId,":","_") + " = document.getElementById('" + ButtonId + "').getAttribute(""onclick"");document.getElementById('" + ButtonId + "').setAttribute(""onclick"",""return OpenConfirmationDialog('" + PopUpMainContainer.Id + "','" + ButtonId +"')"");</script>",NullTextIdentifier())