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

B

bkasmai

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,262
Messages
2,571,049
Members
48,769
Latest member
Clifft

Latest Threads

Top