Click here to Skip to main content
15,894,630 members
Home / Discussions / ASP.NET
   

ASP.NET

 
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 
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 
XML
<asp:GridView ID="gdvItems" runat="server" Visible="true" ShowFooter="true" AutoGenerateColumns="false">
             <Columns >
             <asp:BoundField DataField="ItemNo" HeaderText="ItemNo" />
            <asp:TemplateField HeaderText="TireSize">
            <ItemTemplate>
                <asp:TextBox ID="txtTireSize" runat="server"></asp:TextBox>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="DOT">
            <ItemTemplate>
                <asp:TextBox ID="txtDOT" runat="server"></asp:TextBox>
            </ItemTemplate>
        </asp:TemplateField>

              <asp:TemplateField HeaderText="RemovalArea">
            <ItemTemplate>
               <%--<asp:TextBox ID="txtReAre" runat="server"></asp:TextBox>--%>
                <asp:DropDownList ID="ddlRemovalArea" runat="server" OnSelectedIndexChanged="ddlRemovalArea_SelectedIndevChanged" AutoPostBack="true">
                <asp:ListItem>-Select-</asp:ListItem>
                 <asp:ListItem>Bead</asp:ListItem>
                 <asp:ListItem>Tread</asp:ListItem>
                 <asp:ListItem>Sidewalk</asp:ListItem>
                 <asp:ListItem>Other</asp:ListItem>
                 <asp:ListItem>Tread life</asp:ListItem>
                 <asp:ListItem>Interior</asp:ListItem>
                </asp:DropDownList>
            </ItemTemplate>
        </asp:TemplateField>
                <asp:TemplateField HeaderText="TirePosition">
            <ItemTemplate>
           <%--  <asp:TextBox ID="txtTireposition" runat="server"></asp:TextBox>--%>
                 <asp:DropDownList ID="ddlTirePosition" runat="server">
                  <asp:ListItem>-Select-</asp:ListItem>
                 <asp:ListItem>Left Front</asp:ListItem>
                  <asp:ListItem>Right Front</asp:ListItem>
                   <asp:ListItem>Left Rear</asp:ListItem>
                    <asp:ListItem>Right Rear</asp:ListItem>
                     <asp:ListItem>Other</asp:ListItem>
                      <asp:ListItem>Trailer</asp:ListItem>
                 </asp:DropDownList>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText ="32nds">
        <ItemTemplate>
        <asp:TextBox ID="txtDepth" runat="server"></asp:TextBox>
        </ItemTemplate>
         </asp:TemplateField>
        <asp:TemplateField HeaderText ="Product Code">
        <ItemTemplate>
        <asp:TextBox ID="txtProductCode" runat="server"></asp:TextBox>
        </ItemTemplate>
         </asp:TemplateField>
          <asp:TemplateField HeaderText="Reason for Removal">
         <ItemTemplate>
         <asp:TextBox ID="txtRR" runat="server" />
         </ItemTemplate>
         </asp:TemplateField>
                <asp:TemplateField HeaderText="ApprovalNumber">
            <ItemTemplate>
                 <asp:TextBox ID="txtApprovalNumber" runat="server"></asp:TextBox>
            </ItemTemplate>
             <FooterStyle HorizontalAlign="Right" />
             <FooterTemplate>
             <asp:FileUpload ID="FileUpload" runat="server" />
             </FooterTemplate>
             </asp:TemplateField>
             <asp:TemplateField>
            <FooterTemplate>

             <asp:Button ID="ButtonAdd" runat="server" Text="Add New Row" onclick="BtnNewRow_Click"  />

            </FooterTemplate>

        </asp:TemplateField>

             </Columns>

             </asp:GridView>



Here is my ASPX code , to make you understand what I need.
On ddlRemovalArea="Tread life" then upload file is Required. else not required. And if uploaded file it should give a image in the last column like Attachment.
Your help is much appreciated.
Thanks
Happy Coding!

GeneralRe: File Upload for each row in GridView Pin
sudevsu2-Jan-15 5:35
sudevsu2-Jan-15 5:35 
Questionscroll bar Pin
Member 113308252-Jan-15 1:10
Member 113308252-Jan-15 1:10 
Questionproblem with response.writefile and triggers Pin
fa_itb31-Dec-14 0:14
fa_itb31-Dec-14 0:14 

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.