bonjour,
voila j'ai un sript dans ma page aspx pour ouvrir une popup :
comment je peux lancer function
fnOpen() depuis le codebehind en vb sur un événement ????<
SCRIPT>function
fnRandom(iModifier){return parseInt(Math.random()*iModifier);}
function
fnSetValues(){var iHeight=oForm.oHeight.options[oForm.oHeight.selectedIndex].text;
if(iHeight.indexOf("Random")>-1){iHeight=fnRandom(document.body.clientHeight);
}
var sFeatures="dialogHeight: 400px;";return sFeatures;}
function
fnOpen(){var sFeatures=fnSetValues();window.showModalDialog(
"interdit.aspx", "", sFeatures)
}
</
SCRIPT>