SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have 2 DVWPs and would like to use a tab or link to switch between them without postbacks. I was thinking of using jQuery. One DVWP would have around 100 rows the other 400 rows. Any suggestions would be great. Cheers

share|improve this question – Steve B Sep 10 '12 at 8:26
Thanks for the URL Steve. – naijacoder Sep 11 '12 at 0:19
up vote 1 down vote accepted

Ready made solution if you don't want to program it yourself:

If you want to implement it yourself, it is also very straightforward. Have two web part zones in the page, one DWP in each. In Page layout, add DIV's around each web part zone. Then add default CSS style that makes the second DIV initially hidden. Then add two buttons on top that toggle the visibility of the DIVs.

Of course, if you don't want the second DWP load before you click the tab, you need more sophisticated implementation, but with 100 and 400 items, this quick solution is probably quite OK.

share|improve this answer
Thanks Jussi for the link to codeplex.I was basically looking for something i could just use before that already existed.Thanks alot – naijacoder Sep 11 '12 at 0:20

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.