Wednesday, 13 April 2011

Check When Repeater control data bound

protected void reptrMenu_ItemDataBound(object sender, RepeaterItemEventArgs e)
    {
        if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem)
        {
            //Code
        }
    }

No comments:

Post a Comment