I am having a datalist
inside a div. I want to print it.
The code has been done for printing on a button click but opens the print dialog form in the same tab itself..
what I want is to open the print dialog box in another tab so that if I don't want to print it i can simply close the tab and start working normally with my form...
I am using the following code at design time.
<asp:Button ID="btnprintlabel" OnClientClick="printdiv('div_print');"
Text="PrintLabel" Width="132px" onclick="btnprintlabel_Click"
Font-Bold="True" Visible="False" runat="server" />