Insert link/image from sharepoint (assetportalbrowser.aspx) broken when Xlstlistviewwebpart with webid from subsite
Thursday, July 26, 2012 5:51 AM
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
Friday, July 27, 2012 10:13 AMModerator
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."
Thursday, August 02, 2012 7:48 AMModeratorHi Ahmed,
I had been updated my first reply, please checked whether it can help you.
- Edited by Lhan HanModerator Thursday, August 02, 2012 7:49 AM
Friday, August 03, 2012 11:39 PM
- Add webpart using SPDesigner.
- Update to SP1 + Jun 2012 CU
- Marked As Answer by Ahmed Rabee Monday, August 06, 2012 5:10 AM
Sunday, August 05, 2012 5:48 AM
Thank you Lhan for your reply, I saw this link before, but it is not working for me, I already provisioning XsltListViewWebPart by code but always getting same error