当前位置:编程学习 > C#/ASP.NET >>

想向高手求助:关于panel设置enable=flase后,里面控件变灰的问题!

                        <asp:Panel ID="Panel_delivery_needs" runat="server">
                                                <tr>
                                                    <td>
                                                        <table style="border-style: groove; width: 100%;">
                                                            <tr>
                                                                <td>
                                                                    <asp:Label ID="Label51" runat="server" Text="投递需求" Font-Bold="True"></asp:Label>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td style="width: 100%;">
                                                                    <asp:Label ID="Label52" runat="server" Text="投递方式:"></asp:Label>
                                                                    <asp:CheckBox ID="CheckBox26" runat="server" Text="随报投递(封普邮)"></asp:CheckBox>
                                                                    <asp:CheckBox ID="CheckBox27" runat="server" Text="直投(封商函)"></asp:CheckBox>
                                                                    <asp:Label ID="Label54" runat="server" Text="其它:"></asp:Label>
                                                                    <asp:TextBox ID="TextBox_delivery" runat="server"></asp:TextBox>
                                                                </td>
                                                            </tr>
                                                                                                                                                                                  <tr>
                                                                <td style="width: 100%;">
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                            </asp:Panel>

把panel用enable=false禁用后,里面的所有控件都变灰了,想问一下有没有里面的控件不可用,但是不变灰的办法,因为灰色实在太难看清楚了! --------------------编程问答-------------------- 你可以设置panel不可用的时候,同时设置他的css属性,换个别的颜色即可! --------------------编程问答-------------------- 能说的更详细些吗?
补充:.NET技术 ,  C#
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,