By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,920 Members | 1,660 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,920 IT Pros & Developers. It's quick & easy.

Nested Repeater controls

P: n/a
As per the instructions in Microsoft KB article: 306154, I have tried to
create a nested repeater control.

The inner (child) repeater control is declared as follows:

<asp:Repeater id="roomDetailRepeater" runat="server"
datasource='<# ((DataRowView)Container.DataItem).
Row.GetChildRows("RoomType") %>' >

This is all, of course, one line in the aspx.

I also added <%@ Import Namespace="System.Data" %> at the top, again, as per
the KB article.

When I bring up the page however, I get a parser error message: "The
'datasource' property is set only by the runtime. It cannot be declared."

Did I miss something? I've gone back through step-by-step to see if I'm
missing something in the instructions, but I can't find it.

Thanks for any help anyone can offer on this.

Nov 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.