U
ujjc001
I have a page that has an asp button and smart nav is on. I add
"btnPrintServicePlan.Attributes.Add("onclick",
"javascriptrintSP_window=window.open('cts_serviceplan.aspx','PrintSP');PrintSP_window.focus();")"
to open the new window but the problem is that the calling window posts
back and gets the focus again.
In the past I've used an html image rather than an asp button but that
leaves a lot to be desired also.
How can I open a new window and have it take the focus?
"btnPrintServicePlan.Attributes.Add("onclick",
"javascriptrintSP_window=window.open('cts_serviceplan.aspx','PrintSP');PrintSP_window.focus();")"
to open the new window but the problem is that the calling window posts
back and gets the focus again.
In the past I've used an html image rather than an asp button but that
leaves a lot to be desired also.
How can I open a new window and have it take the focus?