S
steven
i've got a dropDownList that I'm trying to populate from my code
behind as follows:
uxVehicleColourEdit.DataSource = oDsLookups.Tables["COLOR"];
if the dropDown is placed inside a datagrid, i get compile time errors
stating the control doesn't exist in the current content:
<asp
ataGrid ID="tmp" runat="server">
<Columns>
<asp:TemplateColumn>
<EditItemTemplate>
<asp
ropDownList ID="uxVehicleColourEdit" runat="server"></
asp
ropDownList>
</EditItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp
ataGrid>
if i move uxVehicleColourEdit outside the datagrid, i get no compile
errors.
any ideas what's going on?
tks
behind as follows:
uxVehicleColourEdit.DataSource = oDsLookups.Tables["COLOR"];
if the dropDown is placed inside a datagrid, i get compile time errors
stating the control doesn't exist in the current content:
<asp

<Columns>
<asp:TemplateColumn>
<EditItemTemplate>
<asp

asp

</EditItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp

if i move uxVehicleColourEdit outside the datagrid, i get no compile
errors.
any ideas what's going on?
tks