Hi Mark,
Is this what you mean?
Private Sub Page_Load _
(ByVal sender As System.Object, _
ByVal e As System.EventArgs) _
Handles MyBase.Load
Dim sb As New System.Text.StringBuilder
sb.Append("javascript
:window.showModalDialog")
sb.Append("('http://authors.aspalliance.com/kenc/',")
sb.Append(" '','');return true;")
Button1.Attributes.Add("onclick", sb.ToString)
End Sub
Ken
Microsoft MVP [ASP.NET]
"Mark Goldin" <ma********@comcast.net> wrote in message
news:OI**************@TK2MSFTNGP09.phx.gbl...
What is a proper way in .NET to create a modal dialog on the client with
the
aspx page ?
Thanks