Creating Pop-up Window from ASP.Net Table Cell
I have an ASP.NET table with url links to other ASP.NET forms. I would like these forms (in the url links) to be pop-up windows that "sit on top of" the parent form (the form with the ASP.NET table).
I have the following code in my code behind module for those rows/columns in my table that have links to other forms:
Dim expCol2 As New TableCell
Dim explc As New LiteralControl
explc.Text = "Successful teaching experience in the subject within the last 5 years."
expCol2 = tblHOUSSE.Rows.Item(1).Cells(1)
Dim exph As New HyperLink
exph.Text = "Teacher Subject Experience Detail"
exph.NavigateUrl = "TchrSubjExpDetail.aspx"
I have created pop-up ASP.NET forms in the past, but don't know how to do it from a table cell. What I did before was put the following code in an event handler:
"myCalendar = window.open('AddrCalendar.aspx', 'MyAddress', " & _
"'width=315, height=370, menubar=no, resizable=no, fullscreen=0, modal=yes, TopMost=True, MyCalendar.focus();')" & _
' Register the script
In case anyone is wondering, I used an ASP.NET table on my ASP.NET page because nearly all the info on the page is static text.