Gridview not visible when using a Theme

Discussion in 'ASP .Net' started by =?Utf-8?B?RWR3YXJk?=, Nov 19, 2005.

  1. 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?
    =?Utf-8?B?RWR3YXJk?=, Nov 19, 2005
    #1
    1. Advertising

  2. Found that when removing HorizontalAlign="Left" this situation doesn't appear.


    "Edward" wrote:

    > 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?
    =?Utf-8?B?RWR3YXJk?=, Nov 19, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. tshad

    button visible/not visible

    tshad, Oct 26, 2004, in forum: ASP .Net
    Replies:
    6
    Views:
    4,426
    Brian Hoops
    Oct 28, 2004
  2. tshad

    Sections visible and not visible

    tshad, Jan 31, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    2,046
    tshad
    Jan 31, 2005
  3. Patrick Olurotimi Ige
    Replies:
    7
    Views:
    5,939
    Patrick Olurotimi Ige
    Jun 15, 2005
  4. tshad
    Replies:
    1
    Views:
    4,218
    tshad
    Oct 31, 2009
  5. Jurjen de Groot
    Replies:
    0
    Views:
    293
    Jurjen de Groot
    May 19, 2008
Loading...

Share This Page