//Binding Chapters' sub sections to the insert link list protected void rptChapsList_ItemDataBound(object sender, RepeaterItemEventArgs e) { if (e.Item.ItemType != ListItemType.Footer || e.Item.ItemType != ListItemType.Header) { HiddenField hfChapId = (HiddenField)e.Item.FindControl("hdnChapId"); Repeater rptChapSecList = (Repeater)e.Item.FindControl("rptChapSecList"); rptChapSecList.DataSource = DocoManager.GetChapterSubSection(hfChapId.Value); rptChapSecList.DataBind(); } }