Itemdatabound event fires once for Datagrid header only and NOT for data rows

Discussion in 'ASP .Net Datagrid Control' started by bkasmai@gmail.com, Jul 23, 2006.

  1. Guest

    The itemdatabound event fires only once for a datagrid header only and
    NOT for the rows. What am i doing wrong? I have used the code below to
    confirm that indeed this is what is happening.

    private void grdSelectionList_ItemDataBound(object sender,
    System.Web.UI.WebControls.DataGridItemEventArgs e)
    {
    event_type = e.Item.ItemType.ToString()
    }

    I am stuck in the middle of a so far well progressed project. Anyone
    there to help please?

    Barbara
    , Jul 23, 2006
    #1
    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. Lee
    Replies:
    8
    Views:
    889
  2. Replies:
    7
    Views:
    1,707
    Eliyahu Goldin
    Jul 23, 2006
  3. ItemDataBound fires for header only

    , Jul 23, 2006, in forum: ASP .Net Datagrid Control
    Replies:
    2
    Views:
    125
  4. ItemDataBound fires for header only

    , Jul 23, 2006, in forum: ASP .Net Web Controls
    Replies:
    6
    Views:
    168
    Alessandro Zifiglio
    Jul 23, 2006
  5. Replies:
    3
    Views:
    991
Loading...

Share This Page