Click here to Skip to main content
15,893,564 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In run mode Design page as follows.

Month dropdownlist
Year dropdownlist

checkbox1
checkbox2

But in run mode design page i want the output as follows -

Month dropdownlist checkbox1
Year dropdownlist checkbox2

I wan the checkbox1 and checkbox2 at the right point.

For that in the asp.net source page what code has to be written.

Please help me.

Source page code as follows for Month,Year,checkbox1 and checkbox2 as follows;
ASP.NET
 <asp:Label ID="Label6" runat="server" Text="Month" Font-Bold="True">
 <asp:DropDownList ID="Ddlmonth" runat="server" Height="18px"
                  style="margin-left: 0px" Width="73px">


<asp:Label ID="Label7" runat="server" Text="Year" Font-Bold="True">
 <asp:DropDownList ID="DropDownList2" runat="server" Width="77px">

<asp:CheckBox ID="CheckBox1" runat="server" />
<asp:CheckBox ID="CheckBox2" runat="server" />
Posted
Updated 16-May-13 4:28am
v2

1 solution

This will solve your problem

XML
<table class="style5">
        <tr>
            <td>
                Month:</td>
            <td class="style6">
<asp:DropDownList ID="Ddlmonth1" runat="server" Height="24px"
style="margin-left: 0px" Width="115px"/>

            </td>
            <td>

<asp:CheckBox ID="CheckBox1" runat="server" />
            </td>
        </tr>
        <tr>
            <td>
                Year</td>
            <td class="style6">
<asp:DropDownList ID="DropDownList4" runat="server" Width="115px" Height="24px"/>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900