Hi pmc,
Refer the below script. you need towrite the below line of code.
position: { at: "right top", of: window }
<script type="text/javascript">
$("[id*=btnPopup]").live("click", function () {
$("#dialog").dialog({
position: { at: "right top", of: window },
title: "jQuery Dialog Popup",
buttons: { Close: function () { $(this).dialog('close'); } }
});
return false;
});
</script>