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#.

99 questions
0
votes
2 answers

Display complete list of categories and subcategories using Repeater

I have successfully displayed the list of categories and their corresponding sub categories using nested Repeater controls: .aspx
abramlimpin
  • 5,027
  • 11
  • 58
  • 97
0
votes
0 answers

Error with Nested ASP.NEt Repeaters and Database Table

I'm having some dramas with Nested Repeaters in ASP.NET using VB. I have search through this and a few other forums but cannot work out my code problem. All of the other examples ive found have been using an XML Datasource, or using multiple tables…
Rob
  • 99
  • 1
  • 3
  • 12
0
votes
0 answers

asp:Repeater bind only if a property is true

is it possible to put a repeater inside a if statement like <% if(1 == 2) { %> Return: <%#…
Luckyy
  • 1,021
  • 4
  • 15
  • 29
0
votes
2 answers

nested repeater pass value in header template

I have a nested repeater and i want to pass value in its header. Here is my code so far.. The main problem is the id of the control in header template is also coming from code behind.
AB.
  • 849
  • 4
  • 14
  • 23
0
votes
0 answers

Validating a control inside a nested repeater

I think my subject line pretty much asks the question. I have a control inside a nested repeater that I need to validate. Here's a quick 'n dirty as to how it looks (note: attributes/lines left out for brevity):
Ray K.
  • 2,431
  • 3
  • 25
  • 39
0
votes
1 answer

Controls in a nested repeater item are not being processed

I'm trying to solve a problem with controls in a nested repeater not being processed. First, let me illustrate my scenario. I have XML that looks like this:
Ray K.
  • 2,431
  • 3
  • 25
  • 39
0
votes
1 answer

Specifying XPath node indexes for nested repeaters

Let's say I have an XML hierarchy that looks similar to this:
Ray K.
  • 2,431
  • 3
  • 25
  • 39
0
votes
2 answers

nested repeater in asp.net

A a1 a2 a3 B b1 C c1 c2 How can I do that using nested repeaters? I have a category and a sub-category. But sub-category count is not stable. It depens on it's category. It can be any number 1 to 20.
neverwinter
  • 810
  • 2
  • 15
  • 42
0
votes
1 answer

Nested repeaters - How to access item on 3rd level without runat server tag?

Hi i have a 3 tiered nested repeater and i need to access the values in the repeater condRptr below on postback, i tried everything but dont seem to be able to get anywhere. I had the table originally within the repeater with runat server in the…
JazziJeff
  • 721
  • 4
  • 17
  • 35
0
votes
1 answer

Exception while using nested repeaters

I have a datatable containing all my data called dtData. That datatable contains task descriptions with a task due date for every task description. Here is what I want to do: The user selects the month and year from a dropdown and clicks on a…
Singh Siddharth
  • 45
  • 1
  • 12
0
votes
1 answer

conditional logic within nested Repeater

I have two repeaters, 1 nested within the other. The Inner Repeater contains and displays basically a grid of text boxes to allow the user it enter in sets of information. If there are 0 items for the nested child, there is no issue. Otherwise,…
em3ricasforsale
  • 352
  • 3
  • 7
  • 23
0
votes
1 answer

3 Nested Repeater Using LINQtoSQL To Implementing N-N Relation

I have 3 tables in my DB. I implemented a N-N relation using "AccountAccessRight" Table as a junction Table. So "Account" Table has 1-N relation with "AccountAccessRight" and "AccountAccessRight" has N-1 Relation to "NextOfKin" Table. Iwant to list…
Mehdi
  • 5,435
  • 6
  • 37
  • 57
0
votes
1 answer

Looping thru all radiobuttonlists on page

I have a survey composed of nested repeater objects of questions that are within subjects. Everything is populated dynamically via the database. Each question has a radiobuttonlist of answers. There can be one or many questions per subject. When the…
NikZ
  • 650
  • 3
  • 8
  • 20
0
votes
1 answer

how to show pattern in asp-Repeater item template?

I have a page in my asp.net project where I want to show the attendance of the employees. When present P should be shown and when absent then A and on holidays H should be shown in the repeater. Now on my web page I have 2 textboxes through which I…
user2527367
  • 5
  • 1
  • 4
0
votes
1 answer

Nested Repeater using XMLNodeList

I am stuck on a problem. I think I am probably close to the solution but can not seem to get there. I have an XMLDoc that is loaded from a stored Proc, into a dataset and the xml is pulled from it, (don't think I can change any of this part). The…
Jon
  • 15,110
  • 28
  • 92
  • 132