Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2004
    Provided Answers: 1

    Unanswered: ASP.NET Template Column

    Good day,

    I have a template column in a DataGrid setup as follows:
    <asp:TemplateColumn HeaderText="Disposal Method">
    <asp:TemplateColumn HeaderText="Testing">
    <asp:Label ID="lblTesting" runat="server" Text='<%# Eval("Testing")%>'></asp:Label>
    <asp:Label ID="lblTesting" runat="server" Text='<%# Eval("Testing")%>' Visible="false"></asp:Label>
    <aspropDownList ID="cmbTesting" runat="server"></aspropDownList>

    I am able to get just about everything working except that when I change my dropdown value in edit mode it still picks up the original "old" value and not the newly selected value.

    How do I fix that?

    Thanks in advance.

  2. #2
    Join Date
    Nov 2004
    Provided Answers: 1
    I picked up that in my page post back I was refreshing the screen values and thus over riding everything with the original values. Sorted that out all working 100%.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts