Hi,Thanks for answering me.
I tried that piece of code and I got a javascript error: the WebDialogWindow is null. So I tried this:
function
showIt() {
var dialogWindow = $find('<%= WebDialogWindow1.ClientID %>');