The below line was in the markup of a C# asp.net page, what would be the equivalent in VB? The datasource item is what I need. The code behind file converted fine, but this line is giving me an error of "The DataSource property cannot be set declaratively". No matter what I try to set it to, it doesn't seem to like the fact that you are using code for that property, but it does work in C#.
Code:<asp:Repeater ID="Repeater1" runat="server" DataSource="<% ((SiteMapNode) Container.DataItem).ChildNodes %>">




Reply With Quote