i've got a dropDownList that I'm trying to populate from my code
behind as follows:
uxVehicleColour Edit.DataSource = oDsLookups.Tabl es["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:DataGrid ID="tmp" runat="server">
<Columns>
<asp:TemplateCo lumn>
<EditItemTempla te>
<asp:DropDownLi st ID="uxVehicleCo lourEdit" runat="server"> </
asp:DropDownLis t>
</EditItemTemplat e>
</asp:TemplateCol umn>
</Columns>
</asp:DataGrid>
if i move uxVehicleColour Edit outside the datagrid, i get no compile
errors.
any ideas what's going on?
tks
behind as follows:
uxVehicleColour Edit.DataSource = oDsLookups.Tabl es["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:DataGrid ID="tmp" runat="server">
<Columns>
<asp:TemplateCo lumn>
<EditItemTempla te>
<asp:DropDownLi st ID="uxVehicleCo lourEdit" runat="server"> </
asp:DropDownLis t>
</EditItemTemplat e>
</asp:TemplateCol umn>
</Columns>
</asp:DataGrid>
if i move uxVehicleColour Edit outside the datagrid, i get no compile
errors.
any ideas what's going on?
tks
Comment