Hi,
We're using the following code to print the content of a radpane :
But the newly opened window does not close itself after printing.
Is there any way to achieve this behaviour?
We're using the following code to print the content of a radpane :
But the newly opened window does not close itself after printing.
Is there any way to achieve this behaviour?
function
clientButtonClicking(sender, args) {
var
toolBar = sender;
var
button = args.get_item();
if
(button.get_value() ==
"print"
) {
var
splitter = $find(
'<%= RadSplitter2.ClientID%>'
);
var
pane = splitter.GetPaneById(
'<%= RadPaneContentDetail.ClientID %>'
);
if
(!pane)
return
;
pane.Print();
} }
}