<!-- Load and display list - jQuery version -->
<!-- Questions and comments: [email protected] -->
<DIV id="ListPlaceholder"><IMG src="/_layouts/images/GEARS_AN.GIF"></DIV>
<script type="text/javascript">
// Paste the URL of the source list below:
var SelectedView = "https://focus/Rx/team4/Lists/Team%204%20Surveys/summary.aspx";
$("#ListPlaceholder").load(SelectedView+" #WebPartWPQ2 .ms-listviewtable",function() {
$("#ListPlaceholder *").removeAttr("id").removeAttr("onclick").removeAttr("onfocus").removeAttr("onmouseover");
$("#ListPlaceholder a").each(function() {
if ($(this).attr("href").indexOf("?") > 0) {$(this).attr("href", $(this).attr("href")+"\&Source="+location.href);}
else {$(this).attr("href", $(this).attr("href")+"?Source="+location.href);}
});
});
</script>
]]>Please do let us know how to solve this.
Thanks in advance for your input!
]]>I am also getting the same problem,If you found any solution for the same please mail me ASAP.
Thanks
]]>I’d also really like to know how i can make the web part disappear once the user has taken the question, otherwise it stays there and when they try and take it again it throws a big ugly exception!
Alternatively if we could make it show the graphical results instead of the poll question that would be the real win
]]>Nice article, it’s just worth mentioning though trial and error that if the question doesn’t have “Require a response for this question” marked as “Yes”, the question itself will not appear in SharePoint Designer when adding the field (step 3e).
]]>I can get to the stage where i add the DVWP to the page in Designer but i can’t add my individual question – it just appears as a blank set of ‘id’ ‘modified by’ fields (3 fields in all) and not the question I expected to see.
All I want is to be able to export this web part into my code solution anyway, so if anyone had a working code example that would be much appreciated!
Many thanks,
HC
]]>