What you could do is to run your c# code during the postback and simply have
a condition that, if true, would write some script to the browser using the
method RegisterClientScriptBlock or some similar methods. When the page is
rendered, the script will execute if present, otherwise nothing will happen.
"Fabrizio" <an*******@discussions.microsoft.com> wrote in message
news:C3**********************************@microsof t.com...
HI,
I would like to open a popup window on my web application when a user
click on a button, BUT ONLY AFTER executing a C# routine that checks for
some value. There is any method to do that?
Thank you,
Fabrizio