"Bin Song, MCP" <> wrote in message
news:FFA83756-AF70-4EEC-81A5-...
> You might try this:
> replace the table with ASP:Table and set the related TableCell and
TableRow to invisible when you set the label and datagrid to invisible.
> <asp:Table id="Table2" runat="server"><asp:TableRow
ID="tr1"><asp:TableCell ID="tc1">
> label1
> datagrid1
> label2
> </asp:TableCell></asp:TableRow><asp:TableRow ID="tr2"><asp:TableCell
ID="tc2">
> label3
> datagrid2
> label4
> </asp:TableCell></asp:TableRow><asp:TableRow ID="tr3"><asp:TableCell
ID="tc3">
> label5
> datagrid3
> label6
> </asp:TableCell></asp:TableRow></asp:Table>
>
> If 1 is invisble then
> tc1.Visible = False
> tr1.Visible = False
> End If
ill try that thanks!
mark
|