FormView - bound controls do not appear in the IEnumerator

B

Bill Nicholson

I have a FormView control that works correctly until I put the bound
controls into this an asp table control:

This works fine:
<InsertItemTemplate>

<asp:TextBox ID="Customer01" runat="server" Text='<%# Bind("Customer")
%>' MaxLength="50" TabIndex="50"></asp:TextBox>

</InsertItemTemplate>



But this control does not appear in the IEnumerator ...

<asp:Table runat="server">
<asp:TableRow runat="server">
<asp:TableCell runat="server">
<asp:TextBox ID="Customer01" runat="server" Text='<%# Bind("Customer")
%>' MaxLength="50" TabIndex="50"></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
</asp:Table>

Thanks,

Bill Nicholson
Cincinnati, OH USA
 

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

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top