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
2
votes
2 answers

ASP.Net Nested Repeater Logic Hell

Looking for help with a tripple nested repeater logic issue I have. Background I am building a timetable system for booking rooms and resources pulling data from a SQL Server database. Table Structure Table 1 - tblrooms room_id (INT) PK …
OPSL
  • 131
  • 1
  • 11
2
votes
1 answer

Bind data repeater inside data repeater in ASP.NET

I'm learning .NET at the moment, so forgive me if this is a silly question. I have two MSSQL tables, one called 'Comment' and the other called 'CommentAdditionalAuthor'. The Comment table holds data from a comment form, such as comment title, date,…
Briquette
  • 5,336
  • 20
  • 77
  • 129
1
vote
0 answers

can it possible calling inner repeater in nested-repeater, if possible then how?

I have nested Repeater. i am using 3 repeater. For calling(firing) the 1st repeater which is working fine and returning 100% result. But when i am calling(firing) 2nd repeater. it is not firing. I just want to know should i call 2nd repeater event…
Jackys
  • 67
  • 7
1
vote
1 answer

Using ASP.NET Repeaters with Object Properties

I'm trying to use ASP.NET's Repeater objects to loop over properties of an object. For example... I have an ObjectDataSource to grab object "Program" by ID... Program has properties such as Program.Stakeholders and Program.Outcomes which are Lists…
jocull
  • 17,542
  • 18
  • 95
  • 139
1
vote
0 answers

Repeater control in DataView is being bound twice

In an ASP.Net 4.0 web forms based application I have a products listing page which displays list of products in a DevExress' ASPxDataView. To show all the sizes of the product there is a repeater control which is bound for each product in…
Haris
  • 663
  • 3
  • 17
  • 33
1
vote
1 answer

flex 3 using nested repeaters

I'm trying to loop through a row of an arraycollection using nested repeater;
cdugga
  • 3,731
  • 15
  • 76
  • 120
1
vote
1 answer

how to show list of parent company and sub companies with checkbox to select in asp.net webform using nested repeaters

Company table in SQL server using asp.net web forms to show all the list of companies first with a parent company and sub-companies under the parent company, with a checkbox list to select the companies. In 1st SQL SP am getting a list of parent…
Jim Lobo
  • 387
  • 1
  • 3
  • 18
1
vote
2 answers

Dynamic data population like stackoverflow comments?

I'm trying to create a comment system just like SO has, but first, I'd like to show first 5 comments for a post and show rest if "display all comments" is clicked for the desired reply. What is the best way of doing this? I really couldn't found a…
Pabuc
  • 5,430
  • 6
  • 33
  • 51
1
vote
1 answer

nest repeater with list of string

I have an object of the following type: public class TriggerMessage { public List Triggers_EN { get; set; } public List Triggers_FR { get; set; } public string Message_EN { get; set; } public string Message_FR { get;…
MaxOvrdrv
  • 1,760
  • 13
  • 31
1
vote
1 answer

How to get current Repeater in ItemCommand event of child Repeater

This is HTML Code:

Repeater 1

M. Rashford
  • 111
  • 11
1
vote
2 answers

Replicated nested repeater behaviour in MVC

Today I decided to give MVC a go, and although I really like the idea, I found it fairly difficult to transition from ASP.NET and grasp some basic concepts, like using foreach instead of nested repeaters. It took me good few hours to come up with…
Shagglez
  • 1,502
  • 3
  • 21
  • 38
1
vote
2 answers

Button inside Nested Repeater

Please help me to fire the command of ItemCommand for child Repeater. Here is my aspx code.
Dao Xio
  • 138
  • 11
1
vote
1 answer

Displaying partially hierarchical data with nested repeaters

I'm SO close, but so far. I've got two tables, one for publication details, the other for the categories adjacency list. I'm trying to display the full dataset with nested repeaters (unless there's a better way) and I'm building my DataSet as…
TomCDona
  • 150
  • 2
  • 10
1
vote
1 answer

Dynamically Nesting Repeaters ASP.net

I have a portion of code where I nest repeaters by hardcoding them in HTML:
<%# Eval("ID") %>
Erica
  • 95
  • 4
1
vote
2 answers

Use DataItem in Code-behind to set class or style in Nested Repeater

I have looked around for awhile on this and I am not able to figure this out. I have a nested repeater that onItemDataBound event I would like to set class and style for some
. HTML: …
Mike C
  • 63
  • 1
  • 11