F
Fred Flintstone
I'm a bit confused about something. I have an aspx page populated
with dynamic controls; textboxes, labels, radios and so on. On the
page is a Yes/No radio combination and 3 textboxes. The textboxes are
visible. If you click the No radio, the textboxes should disappear.
In my code, I'm setting the textbox's Visible property to false.
What happens is, when you click the No radio, the textboxes do
disappear. But I'm left with a blank space on the page equal to the
area the textboxes took up. I took the source of the resultant page
and copied out thie HTML into Dreamweaver to try and see where the
problem is. Well, the textboxes are still there. I assume there's
session data missing that's there when the page is actually generated
that hides the textbox but in essence, it doesn't really disappear.
So I start with this:
Heading
Radios Yes/No
Textbox
Textbox
Textbox
But when no is clicked (postback is performed that sets textboxes
visible to false ) I get:
Heading
Radios Yes/No (No selected)
Blank space
Blank space
Blank space
How do I get this space to disappear?
Thanks!
with dynamic controls; textboxes, labels, radios and so on. On the
page is a Yes/No radio combination and 3 textboxes. The textboxes are
visible. If you click the No radio, the textboxes should disappear.
In my code, I'm setting the textbox's Visible property to false.
What happens is, when you click the No radio, the textboxes do
disappear. But I'm left with a blank space on the page equal to the
area the textboxes took up. I took the source of the resultant page
and copied out thie HTML into Dreamweaver to try and see where the
problem is. Well, the textboxes are still there. I assume there's
session data missing that's there when the page is actually generated
that hides the textbox but in essence, it doesn't really disappear.
So I start with this:
Heading
Radios Yes/No
Textbox
Textbox
Textbox
But when no is clicked (postback is performed that sets textboxes
visible to false ) I get:
Heading
Radios Yes/No (No selected)
Blank space
Blank space
Blank space
How do I get this space to disappear?
Thanks!