I have
void rgtClients_ItemDataBound(object sender, GridItemEventArgs e)
{
switch (e.Item.ItemType)
{
case Telerik.Web.UI.GridItemType.Header
....
}
but what is happening the case Telerik.Web.UI.GridItemType.Header is executed twice for the same e.Item.ItemIndex)
So I have to keep track which row I am at, with if (intCurrentGridIndex != e.Item.ItemIndex)
What will cause such behavior? Should't it be iterating through rows, including header?
void rgtClients_ItemDataBound(object sender, GridItemEventArgs e)
{
switch (e.Item.ItemType)
{
case Telerik.Web.UI.GridItemType.Header
....
}
but what is happening the case Telerik.Web.UI.GridItemType.Header is executed twice for the same e.Item.ItemIndex)
So I have to keep track which row I am at, with if (intCurrentGridIndex != e.Item.ItemIndex)
What will cause such behavior? Should't it be iterating through rows, including header?