troubleshooting Question

Make table row invisible or visible

Avatar of Ed
EdFlag for United Kingdom of Great Britain and Northern Ireland asked on
ASP.NETWeb Applications
3 Comments1 Solution3706 ViewsLast Modified:
Is there anyway to make the whole row of a table visible or not?

I can hide or show form items and labels etc.. depanding on a postback result but i can't work out how to get a whole table row to show or not depending on postback.

Code for row i want to hide

 <tr>
                <td style="width: 297px; height: 15px">
                    <asp:Label ID="lbSelfEmployed" runat="server" Text="If self employed, are accounts available?"
                        Visible="False"></asp:Label></td>
                <td style="width: 291px; height: 15px">
                    <asp:DropDownList ID="ddlSelfEmployed" runat="server" Font-Names="Verdana" Width="120px" Visible="False">
                        <asp:ListItem Selected="True">Please select</asp:ListItem>
                        <asp:ListItem>Yes</asp:ListItem>
                        <asp:ListItem>No</asp:ListItem>
                    </asp:DropDownList></td>
                <td style="width: 100px; height: 15px">
                </td>
            </tr>
ASKER CERTIFIED SOLUTION
noulouk

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros