Ask a Question related to ASP.NET General, Design and Development.
-
Mikael Engdahl #1
Cascading repeaters
Hello
Does anyone know if it is possible to use a Repeater control within
another one and setting it's datasource dynamically?
Example:
<asp:Repeater id="r1" runat="server">
<ItemTemplate>
<p>
<asp:Repeater id="r2" runat="server">
<%#DataBinder.Eval(Container.DataItem, "xxx")%>
</asp:Repeater>
</p>
</ItemTemplate>
</asp:Repeater>
And what I want is r2's datasource to be set on every iteration of r1...
--
Mikael Engdahl
Mikael Engdahl Guest
-
Repeaters and eventListeners
Ok, so I am close and I thank help on this yesterday. I have a page that has a repeating canvas with items inside the canvas. When the mouse enters... -
Conditional code in Repeaters
Here's my situation: I'm creating a blog-like application for my company to do some simple news updates about new products in and the like that... -
Expandible Nested Repeaters
I am trying to create a asp.net web control the nests repeater controls as well as allows the user to expand the nested repeater. Can someone point... -
Checkboxes with Repeaters and DataGrids
I am having trouble getting checkboxes to work within Repeaters and DataGrids I have tried to access the value of each checkbox within a repeater... -
Catching buttons in repeaters
*google wont let me post to microsoft.public.dotnet.framework.aspnet.webcontrols so thats why i posted here* I have a repeater that i want to... -
Ray Dixon [MVP] #2
Re: Cascading repeaters
Hi Mikael,
This KB article should help:
306154 HOW TO: Display Hierarchical Data by Using Nested Repeater Controls
and Visual C# .NET
[url]http://support.microsoft.com/default.aspx?scid=kb;en-us;306154[/url]
Good luck!
--
Ray Dixon - Microsoft MVP
[email]ray@NOSPAM.greeble.com[/email]
(remove NOSPAM. from my e-mail address for a direct reply)
"Mikael Engdahl" <mikael-l@engdahl.no.spam.com> wrote in message
news:%23CSclJcXDHA.2592@TK2MSFTNGP09.phx.gbl...> Hello
>
> Does anyone know if it is possible to use a Repeater control within
> another one and setting it's datasource dynamically?
>
> Example:
>
> <asp:Repeater id="r1" runat="server">
> <ItemTemplate>
> <p>
> <asp:Repeater id="r2" runat="server">
> <%#DataBinder.Eval(Container.DataItem, "xxx")%>
> </asp:Repeater>
> </p>
> </ItemTemplate>
> </asp:Repeater>
>
>
> And what I want is r2's datasource to be set on every iteration of r1...
>
>
> --
> Mikael Engdahl
>
Ray Dixon [MVP] Guest



Reply With Quote

