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

Popluating asp:View elements from DB

Expert 100+
P: 533
Hi folks,

Bit of a newbie to ASP.NET but starting to get the swing of things - but have come upon a stumbling block.

I'm developing an entire site in ASP.NET v3.5 AJAX. I've got a MultiView and several View controls for the front-end of the site - but what I want to be able to do is to populate all the ASP:View tags with information from an MS SQL Server DB, depending on which section is currently selected (so my client can update each section themselves without fiddling with my lovely code, and the sitemap and relevant sections are updated immediately for users to browse any new content added with easy-to-use navigation).

However, I can't nest a Repeater or DataList or any type of data display inside an asp:MultiView element, it insists on only accepting asp:View tags - which means I have to limit my client to the number of sections they can have (which is bad service to the client - CRM is meant to be customisable, right?).
Any ideas on how to get around this catch-22 situation?

Many thanks in advance,

Aug 19 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.