DropDownList In Datagrid!

  • Thread starter Thread starter Adam Knight
  • Start date Start date
A

Adam Knight

I have a DropDownList in the Footer of a datagrid ['dgTest'] like so:

<FooterTemplate>
<asp:DropDownList ID="cboParentId" Width="120px"
DataTextField="name" DataValueField="area_id"
Runat="server"></asp:DropDownList>
</FooterTemplate>

When i try to bind the DropDownList to a datasource i am getting null object
exception.
Ie: It doesn't appear to find the DropDownList.

Here is my code:
 
Back
Top