Gridview not visible when using a Theme

G

Guest

On mine ASP 2.0 page I've two gridviews. The second depends on the selected
value of the first one. Everything is working ok. When selecting a row from
the first, the second gridview is displaying information based on the
selected row.

When I apply a theme (in the web.config using <pages theme="Default" />),
the first gridview is shown, but I don't see the second gridview. If I do a
right mouse click and select the source, I see that the content of the
gridview is available.

Part of the .skin-file:
<asp:GridView runat="server" BackColor="#CCCCCC" BorderWidth="1pt"
BorderColor="#CCCCCC" GridLines="None" HorizontalAlign="Left">
<FooterStyle ForeColor="#FFFFFF" BackColor="#AAAAAA"></FooterStyle>
<EditRowStyle BorderWidth="1pt" ForeColor="#000000" BorderStyle="Solid"
BorderColor="#0000FF" BackColor="#FFFFE0"></EditRowStyle>
<HeaderStyle Font-Bold="True" ForeColor="#FFFFFF"
BackColor="#000066"></HeaderStyle>
<AlternatingRowStyle BorderWidth="2pt" ForeColor="#000000"
BorderStyle="Solid" BorderColor="#CCCCCC"
BackColor="#EEEEEE"></AlternatingRowStyle>
<SelectedRowStyle ForeColor="#000000" BorderColor="#0000EE"
BorderWidth="2" BackColor="#FFFFE0"></SelectedRowStyle>
<RowStyle BackColor="#FFFFFF" ForeColor="#000000"></RowStyle>
<PagerStyle BorderWidth="1pt" Font-Bold="True" Font-Size="1.2em"
BorderColor="#0000FF" BorderStyle="Solid" ForeColor="#000000"
BackColor="#AAAAAA"></PagerStyle>
<EmptyDataRowStyle BackColor="#EEEEEE" BorderWidth="2"
ForeColor="#000066"></EmptyDataRowStyle>
</asp:GridView>

Anyone any idea?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top