We have a problem with the Listview WebPart on our current project.Situation:We are buildingÃÂ custom sitedefinitions for a portal site. InÃÂ these site definition we add our webpart/featuresÃÂ that have to be deployed with this sitedefinition.In that defintion (ONET.xml) we add a ListViewWebPart on the page.
<ViewÃÂ List="Whiteboard"ÃÂ BaseViewID="3"ÃÂ WebPartZoneID="Left"ÃÂ WebPartOrder="2"ÃÂ ÃÂ
Type="108"ÃÂ />ÃÂ Sofar everything is going fine, we generate our webs with the definition and the webpart renders like it should on the page.We then add an itemÃÂ in the list (DiscussionÃÂ list). Again sofarÃÂ everything fine. when we then try to click on the item to view it in the webpart the item seems to magically disappear from within the webpart. However the items stays in the list so it's not like it getsÃÂ deleted.After some searching we foundÃÂ out that when we bind the selectedview on the webpart again (modify shared webpart -> selected view) the item reappears just as magically as it disappeared.The problem is that for our project we have to create more then 90 webs with this sitedefinition and it's not an option manually start clicking every web for this "bug".Whe tried two other ways to solve this problem without success.First way was to remove the listviewwebpart declaration from the ONET and add the webpart with C# code in
View Complete Post