S
sck10
Hello,
I have a page with an ImageButton that is used to redirect to another page.
When the page first opens, everything looks as expected. However, when I
click on the image, the new page opens as expected. However, when I go back
to the original page, all the font sizes are larger. Its as if by clicking
on the ImageButton, my CSS formatting was discarded.
When I look at the source for the following code, this is what I get:
<script language="JavaScript" type="text/JavaScript">
window.open("srcfinance.aspx?qv01=14&print=printme", "_blank")
</script>
Sub Print_Click(ByVal Src As Object, ByVal Args As CommandEventArgs)
Dim strTarget As String = _
"<script language=" & strQuote & "javascript" & strQuote & _
" type=" & strQuote & "text/JavaScript" & strQuote & ">" & _
"window.open(" & strQuote & "srcfinance.aspx?qv01=" & _
Me.hdnQV01.Value & "&print=printme" & strQuote & ", " & _
strQuote & "_blank" & strQuote & ")</script>"
Response.Write(strTarget)
End Sub
I have a page with an ImageButton that is used to redirect to another page.
When the page first opens, everything looks as expected. However, when I
click on the image, the new page opens as expected. However, when I go back
to the original page, all the font sizes are larger. Its as if by clicking
on the ImageButton, my CSS formatting was discarded.
When I look at the source for the following code, this is what I get:
<script language="JavaScript" type="text/JavaScript">
window.open("srcfinance.aspx?qv01=14&print=printme", "_blank")
</script>
Sub Print_Click(ByVal Src As Object, ByVal Args As CommandEventArgs)
Dim strTarget As String = _
"<script language=" & strQuote & "javascript" & strQuote & _
" type=" & strQuote & "text/JavaScript" & strQuote & ">" & _
"window.open(" & strQuote & "srcfinance.aspx?qv01=" & _
Me.hdnQV01.Value & "&print=printme" & strQuote & ", " & _
strQuote & "_blank" & strQuote & ")</script>"
Response.Write(strTarget)
End Sub