DropDownList in a Datagrid

Discussion in 'ASP .Net' started by Andy Sutorius via DotNetMonster.com, Jun 8, 2005.

  1. Hi,

    When I place a dropdownlist into a datagrid I receive the page error
    "Object reference not set to an instance of an object." When I move the
    dropdownlist out of the datagrid the page and dropdown populate perfectly

    Any ideas why?

    Thanks,

    Andy

    --
    Message posted via DotNetMonster.com
    http://www.dotnetmonster.com/Uwe/Forums.aspx/asp-net/200506/1
     
    Andy Sutorius via DotNetMonster.com, Jun 8, 2005
    #1
    1. Advertising

  2. Andy Sutorius via DotNetMonster.com

    Random Guest

    Are you placing it into the header, footer, or within repeating rows? What
    part of your code generates the error?

    "Andy Sutorius via DotNetMonster.com" <> wrote
    in message news:...
    > Hi,
    >
    > When I place a dropdownlist into a datagrid I receive the page error
    > "Object reference not set to an instance of an object." When I move the
    > dropdownlist out of the datagrid the page and dropdown populate perfectly
    >
    > Any ideas why?
    >
    > Thanks,
    >
    > Andy
    >
    > --
    > Message posted via DotNetMonster.com
    > http://www.dotnetmonster.com/Uwe/Forums.aspx/asp-net/200506/1
     
    Random, Jun 8, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. mr2_93
    Replies:
    1
    Views:
    3,671
    mr2_93
    Oct 2, 2005
  2. tshad
    Replies:
    8
    Views:
    2,269
    tshad
    Oct 19, 2005
  3. =?Utf-8?B?SnVhbmpv?=

    GridView: Filtr DropDownList from another DropDownList

    =?Utf-8?B?SnVhbmpv?=, Dec 23, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    1,899
    =?Utf-8?B?SnVhbmpv?=
    Dec 23, 2005
  4. =?Utf-8?B?SnVhbmpv?=

    GridView: Filter DropDownList for another DropDownList

    =?Utf-8?B?SnVhbmpv?=, Dec 29, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    1,337
    =?Utf-8?B?SnVhbmpv?=
    Dec 29, 2005
  5. keithb
    Replies:
    1
    Views:
    12,168
    shauns1
    Nov 1, 2006
Loading...

Share This Page