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="JavaS cript" type="text/JavaScript">
window.open("sr cfinance.aspx?q v01=14&print=pr intme", "_blank")
</script>
Sub Print_Click(ByV al Src As Object, ByVal Args As CommandEventArg s)
Dim strTarget As String = _
"<script language=" & strQuote & "javascript " & strQuote & _
" type=" & strQuote & "text/JavaScript" & strQuote & ">" & _
"window.ope n(" & strQuote & "srcfinance.asp x?qv01=" & _
Me.hdnQV01.Valu e & "&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="JavaS cript" type="text/JavaScript">
window.open("sr cfinance.aspx?q v01=14&print=pr intme", "_blank")
</script>
Sub Print_Click(ByV al Src As Object, ByVal Args As CommandEventArg s)
Dim strTarget As String = _
"<script language=" & strQuote & "javascript " & strQuote & _
" type=" & strQuote & "text/JavaScript" & strQuote & ">" & _
"window.ope n(" & strQuote & "srcfinance.asp x?qv01=" & _
Me.hdnQV01.Valu e & "&print=printme " & strQuote & ", " & _
strQuote & "_blank" & strQuote & ")</script>"
Response.Write( strTarget)
End Sub
Comment