This is a migrated thread and some comments may be shown as answers.

modalpopup issue on button click

0 Answers 51 Views
Documentation and Tutorials
This is a migrated thread and some comments may be shown as answers.
Saadettin
Top achievements
Rank 1
Saadettin asked on 31 Oct 2013, 11:47 AM
Hi. I have a problem with modalpopup. I try to do thing like this. I set modalPopup.OpenerElementID :

modalPopup.OpenerElementID = btngetReport.ClientID;

This code works. On button click event, I control a value is null or not. If value is null, modalpopup is not hown, else modalpopup will be shown. But I can not do this.

I try a code on button click like below:

......
.....
if(val==null)
modalPopup.Visible = false;

How can I do this? Thanks in advance..


No answers yet. Maybe you can help?

Tags
Documentation and Tutorials
Asked by
Saadettin
Top achievements
Rank 1
Share this question
or