Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I use dynamically added to aspx page XLV webpart. Now, when its not needed, I dont wont to create any database request and just provide XLV with sample data (or prevent it from showing anything). How can I achieve that?

share|improve this question
For now, I use xlv.DataSource = null, but I didn't test if it produce any db request –  dbardakov May 24 '13 at 10:47
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.