Questions tagged [nested-repeater]

Use this tag when the structure is like that one Repeater (Child) is placed inside another Repeater (Parent). Both Repeaters will bind from different Data Sources.

If you use Repeater in nested structure then you have to bind both Repeaters (Parent and Child) from different Data Sources (can be DataTable, List, Database etc).

The nested structure could be:

(-) Repeater -> Parent
 (-) Controls
 (+) Repeater -> Child

Note: Child Repeater will be bind in RowDataBound event of Parent Repeater with C#.

92 questions
58
votes
5 answers

Accessing parent data in nested repeater, in the HeaderTemplate

Simple question, not sure there's a simple answer! So here's the code: (I've simplified it a lot to make it easier to read)
Paul
  • 8,821
  • 11
  • 56
  • 103
44
votes
7 answers

Repeater in Repeater

I have a repeater inside a repeater. Where the parent repeater is bound to a Datatble which has a column with a Datatable in it. I would like to bind the child repeater to the datatable column in the parent repeater's datarow Is this possible? i was…
bill
  • 915
  • 5
  • 10
  • 21
42
votes
4 answers

Nested Repeaters in ASP.NET

I have a class that contains hierarchical data. I want to present this data in my ASP.net webapp using nested repeaters. How do I do this? I've only ever done one level of nesting, how do I do say five levels? Each item can have zero or many sub…
Mike
  • 433
  • 1
  • 4
  • 7
7
votes
1 answer

Access Parent Repeaters DataItem Property

I have a control that has a Repeater, rptReferrals, that runs through a list of Entity objects, Referrals. The Referrals object has a reference to another table called Answers, which is a list of Answers that got submitted for the user. rptReferrals…
Icestorm0141
  • 597
  • 2
  • 8
  • 19
6
votes
6 answers

DataTable breaks Nested Repeater and Bootstrap

I've run into a issue with DataTables and Nested Repeaters. It basically says that I haven't gotten the correct matching tr td tags. Yet, I've followed the Nested Repeater tutorial from the link below and to me that the HTML is formed correctly and…
bmcc81
  • 73
  • 1
  • 1
  • 6
4
votes
1 answer

Find control in repeater footer returns null for text box

I have two nested repeaters. In the nested one's footer I have text box and file upload controls. I was able to get an instance of the file upload without any problem, but the instance of the text box is null, though both are placed in the footer.…
Dania
  • 1,478
  • 2
  • 22
  • 51
3
votes
1 answer

How do I bind my nested repeater to its parent based on current ID of parent?

I have a 2 tables in SQL Server. One table has a list of all superheros and the other table is a list of abilities. Currently at runtime the child repeater gets all items in the table when it should only get the items pertaining to the parent…
Skullomania
  • 2,055
  • 2
  • 26
  • 57
2
votes
1 answer
2
votes
1 answer

nested repeater error: Object reference not set to an instance of an object

I am taking some code that I have used for a nested listview before and trying to make it work with a nested Repeater but I am getting an error. System.NullReferenceException: Object reference not set to an instance of an object. .aspx …
Jammer
  • 2,089
  • 11
  • 45
  • 72
2
votes
1 answer

How to return parent field value to inner repeater?

I have below nested repeater, I need to return ID value from parent repeater then put it inside the Nested repeater. ID_Parent=<% '?????? %> :
"> …
Rebin
  • 96
  • 7
2
votes
2 answers

Repeater within Repeater (ajax based wepapp)

For the solution, I cannot use any postback methods, because this is all working through ajax. The solution need to be implemented in the asp.net code. I have a List that contains a list of Links (List) and I need for all the links to…
Pierluc
  • 395
  • 3
  • 6
  • 13
2
votes
2 answers

How can I Implement N level nested Repeater control in asp.net?

I want to achieve n level data hierarchy in using repeater control in asp.net. Is there any solution to achieve that hierarchy ?
Jaimin Soni
  • 990
  • 12
  • 29
2
votes
1 answer

How to find last item in a repeated structure in bigquery

I have a nested repeated structure, the repeated structure is of variable length. For example, it could be a person object with a repeated structure that holds cities the person has lived in. I'd like to find the last item in that list say to find…
opensourcegeek
  • 4,319
  • 5
  • 33
  • 60
2
votes
0 answers

ACF Nested Repeater Fields with a Conditional to select a repeatable sub fields

I am trying to build a simple page builder and I understand that there are many pre-built solutions out there but I need to make this simple for my client. I created a Repeating field that starts with a dropdown menu to select which type of assets…
2
votes
1 answer

How do I keep data in a generic list after postback

I am trying to populate a Nested Repeater by databinding it to a Generic List. The user will be able to add / remove values from this Generic List at will. All this is neatly wrapped in an Ajax Update Panel. I am now having a problem that when the…
TheGeekZn
  • 3,195
  • 7
  • 43
  • 85
1
2 3 4 5 6 7