when i change:
to:Code:For categoryCount = 0 To rpActiveCategory.Items.Count - 1 Dim rpSubCategory As Repeater = CType(rpActiveCategory.Items(categoryCount).FindControl("rpActiveSubCategory"), Repeater) For subcategoryCount = 0 To rpSubCategory.Items.Count - 1 Dim rpSpecs As Repeater = CType(rpSubCategory.Items(subcategoryCount).FindControl("rpActiveSpecs"), Repeater) For specsCount = 0 To rpSpecs.Items.Count - 1
I get the same errorCode:For categoryCount = 0 To rpActiveCategory.Items.Count - 1 Dim rpSubCategory As Repeater = CType(rpActiveCategory.Items(categoryCount).FindControl("rpActiveSubCategory"), Repeater) For subcategoryCount = 0 To rpSubCategory.Items.Count - 1 Dim rpSpecs As Repeater = CType(rpSubCategory.Items(subcategoryCount).FindControl("rpActiveSpecs"), Repeater) For Each Item as RepeaterItem in rpSpecs.Items
I also changed them all to look like your example and then i got some error
pertaining to item, saying it hides a enclosing block or summing to that effect?
Shem



LinkBack URL
About LinkBacks

Reply With Quote
what a numpty hey!

Bookmarks