This is a migrated thread and some comments may be shown as answers.

TableLayout = Fixed issue

1 Answer 49 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Steven Black
Top achievements
Rank 1
Steven Black asked on 28 May 2010, 06:56 PM

I have a very strange problem.  Hopefully I can explain it to you.  Unfortunately due to the complexities of my application I doubt I'll be able to provide a sample via a support ticket.

Here's the scenario:

I have a master page, a child master page, a content page and a user-control on the content page.  My main master page simply has a header, main menu, content placeholder and a footer, and is used on every page of my application.  I have several different child masters, but this one in particular has two columns - one for a left vertical menu and one for the content.  I use this combination more often than any other, as most of my pages display a left menu.

In one particular user control, I have a nested radGrid.  The data is displaying properly.  However, whenever I expand a parent item the parent column widths change (even though I specify the columns widths in the HeaderStyle and ItemStyle of the grid).  So, I thought I should add the TableLayout="Fixed" attribute to my MasterTableView.  This solved the column width problem, but now my left menu (which resides in my child master page) disappears.  As soon as I remove the TableLayout="Fixed" attribute the left menu appears again.

Also, if I leave the TableLayout attribute there but simply hide the entire grid, the left menu appears again.  As soon as I make the grid visible again, the left menu disappears.

Needless to say it took me quite some time just to figure out that the TableLayout attribute was causing the problem, but I have no idea how to fix it.  Is there some other way I should be enforcing that the column widths don't change when I expand a parent item?

Hopefully somebody can help me out with this one.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Steven Black
Top achievements
Rank 1
answered on 30 May 2010, 05:41 PM

I was able to figure this one out.  It had to do with the way I was styling the child master page.  Now I have to redesign the page :(

Tags
Grid
Asked by
Steven Black
Top achievements
Rank 1
Answers by
Steven Black
Top achievements
Rank 1
Share this question
or