|
-
Sep 14th, 2005, 03:30 AM
#1
Thread Starter
Addicted Member
[RESOLVED] form layout issue
Hi,
I currently have a webform that has an HTML table with three rows and two columns. Each row contains a label in one column and a radiobuttonlist in the other.
The label and radiobutton list on the second row are not visible until the first radiobuttonlist has the yes option checked and a postback is performed. This works fine and displays the second row controls.
Unfortunately when the second row controls aren't visible there is a gap where they should be which breaks up the flow of the form.
What i'd like to know is if there is some way that i can close up the gap whilst the controls aren't visible.
Thanks
-
Sep 14th, 2005, 06:00 AM
#2
Re: form layout issue
How are you hiding the row of controls right now?
-
Sep 15th, 2005, 04:45 AM
#3
Thread Starter
Addicted Member
Re: form layout issue
At present i'm not hiding the row, wasn't sure how that can be done.
i'm just setting the visible property of the control's to false, and changing them to true on the postback if the condition is met.
-
Sep 15th, 2005, 09:08 AM
#4
Re: form layout issue
Set the <tr> to be runat="server" and with some ID. Then hide the TR itself.
-
Sep 16th, 2005, 03:58 AM
#5
Thread Starter
Addicted Member
Re: form layout issue
Thank's very much,
Thats exactly what i was looking for. I didn't realise that this could be done as easily as that, should prove useful in the future.
Many thanks again.
-
Sep 17th, 2005, 01:46 PM
#6
Re: [RESOLVED] form layout issue
YW. 
Add [resolved] to the thread title.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|