Trouble adding ListView web part in a custom web part

Trouble adding ListView web part in a custom web part

Post by Jyoti Khet » Fri, 19 Oct 2007 20:47:31


Hello All,

I am writing a custom web part, which includes as children a ListViewWebPart
and an ExcelWebAccess (EWA) WebPart. These are to be programatically
connected and the List provides the Document URL to the EWA.

The List view connects to a library on the same sharepoint website. However,
the list appears empty when I use the web part on a page. I used
DataBindChildren() and RenderChildren() methods in the parent webpart, and
it still doesn't get populated. Can someone help me with this please?

Thanks in advance,

Regards,
Jyoti Khetan