Datagrid FOOTERTEMPLATE

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a FOOTERTEMPLATE that consists of a 3 DropDownLists. When something
from DDL1 is selected it then populates DDL2, when something from DDL2 is
selected it then populates DDL3.

DDL1 is currently populated, but when I make a selection, it just doesn't
recognize that my FOOTERTEMPLATE is part of my Datagrid. I have 2 rows, the
first one for the "Edit" and my FOOTERTEMPLATE for my "Add". The debug
recognizes my 1st row but has no clue about my second row. My sender.id is
showing my DDL1 ("SuccessItem_Add") which is correct. Here's the code...

<asp:TemplateColumn HeaderText="Success Item">
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem,"SuccessItem") %>
</ItemTemplate>
<EditItemTemplate>
<asp:DropDownList id="SuccessItem_Edit"
DataTextField="DropDownTrans" DataValueField="DropDownCode"
runat="server" Width="450" enabled="false" />
</EditItemTemplate>
<FooterTemplate>
<asp:DropDownList id="SuccessItem_Add"
DataTextField="DropDownTrans" DataValueField="DropDownCode"
runat="server" Width="450" enabled="false" />
</FooterTemplate>
</asp:TemplateColumn>

I can see the "SuccessItem_Edit" in the debug, but not the "SuccessItem_Add".


Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top