0
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0">
            <asp:View ID="View1" runat="server">
                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox><br />
                <asp:Button ID="Button1" runat="server" Text="Next View" OnClick="goToSecondView_Click" BackColor="Red"/>
            </asp:View>
            <asp:View ID="View2" runat="server">
                <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label><br />
                <asp:Button ID="Button2" runat="server" Text="Go Back" OnClick="goToFirstView_Click"  BackColor="Blue" />
            </asp:View>
        </asp:MultiView>
    </div>
    </form>
</body>
</html>

Few simple lines of code that shows 2 options of buttons: One is red, one is blue. When I want to print the website (using browser's print menu), the buttons always appear white on the print preview, even when I print them. How can I print the button backcolor? I tried on IE and Google Chrome.

2
Contributors
2
Replies
11
Views
3 Years
Discussion Span
Last Post by yugdablos
1

Looks fine to me. You probably dont have the option to print background colors and images...

663f973a06243cde4feaedfc1007a8ed

0

Aaaahh... You're right, Jorge. A really small checkbox that I missed. It works. Thank you very much.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.