Search This Blog

Tuesday, April 19, 2011

Ues of Fieldset in aspx page

<fieldset>
                            <legend>test name of heading</legend>
                                <table bgcolor="#f3e8d4" style="position: relative" width="100%">
                                    <tr>
                                        <td colspan="6" style="height: 15px" bgcolor="#ddc89d">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 179px; height: 15px">
                                            <span class="textbg">New Arrivals:</span></td>
                                        <td style="width: 389px; height: 15px">
                                            <asp:CheckBox ID="cbox_new" runat="server" Style="position: relative" /></td>
                                        <td style="width: 100px; height: 15px">
                                            Forthcoming:</td>
                                        <td colspan="3" style="height: 15px">
                                            <asp:CheckBox ID="cbox_for" runat="server" Style="position: relative" /></td>
                                    </tr>
                                    <tr>
                                        <td style="width: 179px">
                                            Best Sellers:</td>
                                        <td style="width: 389px">
                                            <asp:CheckBox ID="cbox_sell" runat="server" Style="position: relative" /></td>
                                        <td style="width: 100px">
                                            Hot Buys:</td>
                                        <td colspan="3">
                                            <asp:CheckBox ID="cbox_hot" runat="server" Style="position: relative" /></td>
                                    </tr>
                                    <tr>
                                        <td style="height: 15px;" colspan="5">
                                            If Other Language:
                                            <asp:DropDownList ID="ddl_other" runat="server" Style="position: relative" CssClass="box">
                                                <asp:ListItem Selected="True" Value="">Select</asp:ListItem>
                                                <asp:ListItem Value="1">YES</asp:ListItem>
                                                <asp:ListItem Value="0">NO</asp:ListItem>
                                            </asp:DropDownList>
                                            <asp:RequiredFieldValidator ID="val_lang" runat="server" ControlToValidate="ddl_other"
                                                ErrorMessage="Please select language." ForeColor="" Style="position: relative"></asp:RequiredFieldValidator></td>
                                        <td style="width: 100px; height: 15px;">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 179px">
                                        </td>
                                        <td style="width: 389px">
                                        </td>
                                        <td style="width: 100px">
                                        </td>
                                        <td style="width: 100px">
                                        </td>
                                        <td style="width: 100px">
                                        </td>
                                        <td style="width: 100px">
                                        </td>
                                    </tr>
                                </table>
                                </fieldset>

No comments :