Insert link/image from sharepoint (assetportalbrowser.aspx) broken when Xlstlistviewwebpart with webid from subsite
I have a Xlstlistviewwebpart provisioned in a root site and mapped to a list in a subsite programmatically, once I provisioned this web part the assetportalbrowser.aspx start giving me "Value does not fall within the expected range", if I un-provision every thing starts working fine
any idea how can I solve this issue, thanks in Advance
- Edited by Ahmed Rabee Thursday, July 26, 2012 5:59 AM
Here is a similar link about your issue, please check it:
The answer is:
"If I added the same web part by first putting it in the web part library (as in your code tested), it worked. Only thing I've changed more is that I used a XsltListViewWebPart instead of a ListViewWebPart.
It's not the ideal solution, because now I have a XsltListViewWebPart within another WebPart but as for now I can live with it."