dodgerfan
asked on
ASP.Net Panel Not showing controls when another control has data
I have an asp.net page (ASP.Net 3.5, c# code-behind) with a panel on it. The panel has a few controls in it. 2 textboxes, a dropdownlist, a repeater and 4 buttons. The way I have it set up, when the repeater has rows, it is visible. If the repeater does not have rows, it is not visible. What happens is that when the repeater does have rows, the buttons all get knocked outside the panel. Everything still works functionally. When the repeater does not have rows and is thuus not visible, the buttons show up within the panel as designed. Any idea what is happening and how I can fix it? Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
After separating things out (and taking a break from staring at the code), some of the html tags were not properly closed. It's all working as expected now. Thank.
When you say buttons get knocked outside the panel are they appearing in a new line?
They should still be visible inside the panel markup i.e. div.