Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load


        Dim sLinkToWindowToOpen As String = ""

        dvInfoLink.InnerHtml = "click here!"

        dvInfoLink.Style.Add("display", "block")

        Dim s As String

        s = "<script> $('#dvInfoLink').click(function() {  $('#dvInfo').dialog({ height: 600, width: 800 });  $('#frame').attr('src', '" & sLinkToWindowToOpen & "');   });</script>"


        'Place the script at the bottom of the page...

        ClientScript.RegisterStartupScript(Me.GetType(), "Info1Key", s)



    End Sub




  <div id='dvInfoLink' style="cursor: pointer;display:none" runat="server" ></div>


 <div id="dvInfo" style="display: none;">


            <iframe id="frame"  style="overflow:hidden;overflow-x:hidden;overflow-y:hidden;height:100%;width:100%;position:absolute;top:0px;left:0px;right:0px;bottom:0px" height="100%" width="100%"></iframe>