M
mark
i have a report page that opens a page with a datagrid and two buttons
one called print one called exit - when i print i dont want the buttons to
show
- i got round it by setting the buttons to visible = false - but they dont
come back after
printing - even if i set the buttons back to visible
my code
<code>
Button1.Visible = False
Button2.Visible = False
Dim clientscript As String
clientscript = "<script
language='javascript'>window.print();</script>"
RegisterStartupScript("openwindows", clientscript)
</code>
cheers
mark
one called print one called exit - when i print i dont want the buttons to
show
- i got round it by setting the buttons to visible = false - but they dont
come back after
printing - even if i set the buttons back to visible
my code
<code>
Button1.Visible = False
Button2.Visible = False
Dim clientscript As String
clientscript = "<script
language='javascript'>window.print();</script>"
RegisterStartupScript("openwindows", clientscript)
</code>
cheers
mark