Click here to Skip to main content
15,889,116 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: ASP.NET Tables tr and td Pin
sudevsu5-Jan-15 7:38
sudevsu5-Jan-15 7:38 
GeneralRe: ASP.NET Tables tr and td Pin
sudevsu5-Jan-15 9:22
sudevsu5-Jan-15 9:22 
GeneralRe: ASP.NET Tables tr and td Pin
ZurdoDev5-Jan-15 9:48
professionalZurdoDev5-Jan-15 9:48 
GeneralRe: ASP.NET Tables tr and td Pin
sudevsu6-Jan-15 2:51
sudevsu6-Jan-15 2:51 
GeneralRe: ASP.NET Tables tr and td Pin
ZurdoDev6-Jan-15 3:05
professionalZurdoDev6-Jan-15 3:05 
GeneralRe: ASP.NET Tables tr and td Pin
sudevsu6-Jan-15 3:52
sudevsu6-Jan-15 3:52 
GeneralRe: ASP.NET Tables tr and td Pin
ZurdoDev6-Jan-15 3:58
professionalZurdoDev6-Jan-15 3:58 
GeneralRe: ASP.NET Tables tr and td Pin
sudevsu5-Jan-15 7:30
sudevsu5-Jan-15 7:30 
Here is my code, Can you make it look with proper alignments.


XML
<table width="100%" cellspacing="3" cellpadding="3">
            <tr class="RowOdd">
            <td width="7.5%" class="Labels">Year</td>
            <td width="16.5%" ><asp:DropDownList ID="ddlYear" runat="server" AutoPostBack="true" Width="100%">
            <asp:ListItem>2014</asp:ListItem>
            </asp:DropDownList></td>
            <td width="1%"><asp:RequiredFieldValidator ID="Ref16" runat="server" ErrorMessage="*" ForeColor="Red" ControlToValidate="ddlYear" ValidationGroup="Required" /></td>
            <td width="7.5%" class="Labels">Make</td>
            <td width="16.5%"><asp:DropDownList ID="ddlMake" runat="server" AutoPostBack="true" Width="100%">
            <asp:ListItem>Nissan</asp:ListItem>
            </asp:DropDownList>
            </td>
            <td width="1%" ><asp:RequiredFieldValidator ID="Ref17" runat="server" ErrorMessage="*" ForeColor="Red" ControlToValidate="ddlMake" ValidationGroup="Required" /></td>
            <td width="7.5%" class="Labels">Model</td>
            <td width="16.5%"><asp:DropDownList ID="ddlModel" runat="server" AutoPostBack="true" Width="100%">
            <asp:ListItem>Altima</asp:ListItem>
            </asp:DropDownList></td>
            <td width="1%" > <asp:RequiredFieldValidator ID="Ref18" runat="server" ErrorMessage="*" ForeColor="Red" ControlToValidate="ddlModel"  ValidationGroup="Required"/></td>
            <td width="7.5%" class="Labels">Vehicle Identification</td>
            <td width="16.5%"><asp:TextBox ID="txtVIN" runat="server" Width="100%" /></td>
            <td width="1%"> <asp:RequiredFieldValidator ID="Ref19" runat="server" ErrorMessage="*" ForeColor="Red" ControlToValidate="txtVIN" ValidationGroup="Required"/>
            </td>
            </tr>
            <tr class="RowEven">
            <td width="7.5%" class="Labels">Installed Mileage<%--VIN--%></td>
            <td width="12%"><asp:TextBox ID="txtInMile" runat="server" Width="100%" /><%--<asp:TextBox ID="txtVIN" runat="server" Width="100%" />--%></td>
            <td width="1%"><asp:RequiredFieldValidator ID="Ref20" runat="server" ControlToValidate="txtInMile" ValidationGroup="Required" ErrorMessage="*" ForeColor="Red"/></td>
            <td width="7.5%" class="Labels">Removal Mileage</td>
            <td width="12%"><asp:TextBox ID="txtReMiles" runat="server" Width="100%" /></td>
            <td width="1%"><asp:RequiredFieldValidator ID="Ref21" runat="server" ControlToValidate="txtReMiles" ValidationGroup="Required" ErrorMessage="*" ForeColor="Red"/></td>
            <td width="7.5%" class="Labels">Total Miles</td>
            <td width="12%"><asp:TextBox ID="txtTMiles" runat="server" Width="100%" /></td>
            <td width="1%"><asp:RequiredFieldValidator ID="Ref22" runat="server" ControlToValidate="txtTMiles" ValidationGroup="Required" ErrorMessage="*" ForeColor="Red"/></td>
            <td width="15.5%" class="Labels">Credit disallowed</td>
            <td width="10.5%" colspan="2"><asp:RadioButton ID="Rbn3" runat="server" Text="Scrap" Font-Size="Small" ForeColor="Black" AutoPostBack="true" GroupName="TypeGrp2" /><%--</td>--%>
           <%-- <td width="1%"></td>--%>
            <%--<td width="11.5" colspan="1">--%><asp:RadioButton ID="Rbn4" runat="server" Text="Return Collect" Font-Size="Small" ForeColor="Black" AutoPostBack="true" GroupName="TypeGrp2" /></td>
            <td width="1%"></td>
            </tr>
            <tr class="RowOdd">
                    <td width="7.5%" class="Labels">
                        Installed Date
                    </td>
                    <td width="16.5%">
                        <asp:TextBox ID="txtInDate" runat="server" Width="100%" />
                        <asp:ImageButton runat="Server" ID="Image1" ImageUrl="~/Images/Calendar_scheduleHS.png"
                            AlternateText="Click to show calendar" /><br />
                        <cc1:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txtInDate"
                            Format="yyyy-MM-dd" PopupButtonID="Image1">
                        </cc1:CalendarExtender>
                    </td>
                    <td width="1%">
                        <asp:RequiredFieldValidator ID="Ref24" runat="server" ControlToValidate="txtInDate" ValidationGroup="Required"
                            ErrorMessage="*" ForeColor="Red" />
                    </td>
                     <td width="7.5%" class="Labels">
                        Purchase Date
                    </td>
                    <td width="16.5%">
                        <asp:TextBox ID="txtPuDate" runat="server" Width="100%" />
                        <asp:ImageButton runat="Server" ID="Image2" ImageUrl="~/Images/Calendar_scheduleHS.png"
                            AlternateText="Click to show calendar" /><br />
                        <cc1:CalendarExtender ID="CalendarExtender2" runat="server" TargetControlID="txtPuDate"
                            Format="yyyy-MM-dd" PopupButtonID="Image2">
                        </cc1:CalendarExtender>
                    </td>
                    <td width="1%">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="txtPuDate" ValidationGroup="Required"
                            ErrorMessage="*" ForeColor="Red" />
                    </td>
                     <td width="7.5%" class="Labels">
                        Tire Type
                    </td>
                    <td width="16.5%">
                      <asp:RadioButton ID="Rbn1" runat="server" Text="OE Tire" Font-Size="Small" ForeColor="Black" AutoPostBack="true" GroupName="TypeGrp" />

                    </td>
                    <td width="1%"/>
                    <td width="16.5%">
                      <asp:RadioButton ID="Rbn2" runat="server" Text="Replacement Tire" Font-Size="Small" ForeColor="Black" AutoPostBack="true" GroupName="TypeGrp" />
                    </td>

                </tr>

            </table>

Your help is much appreciated.
Thanks
Happy Coding!

QuestionCan i develop mvc5 application without entity framework? Pin
Namith Krishnan E4-Jan-15 23:48
professionalNamith Krishnan E4-Jan-15 23:48 
AnswerRe: Can i develop mvc5 application without entity framework? Pin
Sarvesh Kushwaha4-Jan-15 23:56
Sarvesh Kushwaha4-Jan-15 23:56 
AnswerRe: Can i develop mvc5 application without entity framework? Pin
sudevsu5-Jan-15 3:35
sudevsu5-Jan-15 3:35 
AnswerRe: Can i develop mvc5 application without entity framework? Pin
Swinkaran5-Jan-15 10:26
professionalSwinkaran5-Jan-15 10:26 
AnswerRe: Can i develop mvc5 application without entity framework? Pin
Rahul Rajat Singh6-Jan-15 22:53
professionalRahul Rajat Singh6-Jan-15 22:53 
QuestionASP.Net URL gets redirected Pin
prithvi054-Jan-15 22:54
prithvi054-Jan-15 22:54 
AnswerRe: ASP.Net URL gets redirected Pin
Richard Deeming5-Jan-15 2:35
mveRichard Deeming5-Jan-15 2:35 
GeneralRe: ASP.Net URL gets redirected Pin
ZurdoDev5-Jan-15 2:38
professionalZurdoDev5-Jan-15 2:38 
Question[Vb.net - ASPX] Send Data via Sockets Server-Client Pin
Jesus Ac4-Jan-15 21:19
Jesus Ac4-Jan-15 21:19 
QuestionCast .NET dll to Silverlight dll Pin
Global Developer's Academy4-Jan-15 0:50
Global Developer's Academy4-Jan-15 0:50 
AnswerRe: Cast .NET dll to Silverlight dll Pin
Richard MacCutchan4-Jan-15 1:21
mveRichard MacCutchan4-Jan-15 1:21 
Questionhelp me ... - Can't understand logic of code Pin
Nguyen Jay3-Jan-15 21:06
Nguyen Jay3-Jan-15 21:06 
AnswerRe: help me ... - Can't understand logic of code Pin
BillWoodruff4-Jan-15 1:15
professionalBillWoodruff4-Jan-15 1:15 
GeneralRe: help me ... - Can't understand logic of code Pin
Nguyen Jay4-Jan-15 1:19
Nguyen Jay4-Jan-15 1:19 
QuestionFile Upload for each row in GridView Pin
sudevsu2-Jan-15 4:13
sudevsu2-Jan-15 4:13 
AnswerRe: File Upload for each row in GridView Pin
sudevsu2-Jan-15 4:22
sudevsu2-Jan-15 4:22 
GeneralRe: File Upload for each row in GridView Pin
sudevsu2-Jan-15 5:35
sudevsu2-Jan-15 5:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.