Posted on 2013-12-19
I have a ModalPopupExtender on an aspx page that is displayed by a button. The button is only visible if certain conditions about a patient exist. If these conditions do not exist I would like the button to not display which would then not allow the ModalPopup to display either.
However, whenever I set the button visible property to false the ModalPopup is no longer a Modal Popup but a regular table on the page which always displays.
AjaxControlToolkit - 126.96.36.199
Although I do not think it matters in this case I am using VB.NET as the code behind page.
Does anyone know a work around to this behavior?
Thanks in advance,