Thanks but I couldn't get it to work. This is the code I am using to load my modal browser:
' Inject Dialog Open Window Java Script
Dim script As String
script = "<script language=" & Chr(34) & "javascript" & Chr(34) & ">"
script = script & "window.showModalDialog
'ModalIframe.aspx',null,'status:no;dialogWidth:" & "self.screen.width"
& ";dialogHeight:" & ls_DialogHeight
& ";dialogHide:true;help:no;scroll:yes');"
script = script & "</script>"
Page.RegisterStartupScript("DisplayModalDialog", script)
It doesn't seem to pick up on the width unless I explicitly set it. Any ideas?
|