Link to home
Start Free TrialLog in
Avatar of dodgerfan
dodgerfanFlag for United States of America

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.
Avatar of Obadiah Christopher
Obadiah Christopher
Flag of India image

Can you show us snapshots of what's happening wrong.

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.
ASKER CERTIFIED SOLUTION
Avatar of Rahul Agarwal
Rahul Agarwal
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dodgerfan

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.