Hi
I am writing a web part where I want to show a contact list but use one of
the views define for that contact list. I do not want to use the list view
web part but basically want to write my own list view web part with some UI
in addition to what the list view will show. Can anyone tell me how I can
display a view associated with a list in a customized web part.

Thanks

Re: show a list view in a customized web part by Tony

Tony
Mon May 14 11:16:24 CDT 2007

On May 12, 7:32 am, <deltai...@newsgroups.nospam> wrote:
> Hi
> I am writing a web part where I want to show a contact list but use one of
> the views define for that contact list. I do not want to use the list view
> web part but basically want to write my own list view web part with some UI
> in addition to what the list view will show. Can anyone tell me how I can
> display a view associated with a list in a customized web part.
>
> Thanks

Hi,
I would hesitate to script anything until your admins install a
'hotfix' from Microsoft that will fix a problem with list webparts and
saving as a site template. The problem is documented on their site.
Here is the link -- http://support.microsoft.com/?kbid=926284

Basically, when you try to use the template to create a new Windows
SharePoint Services 3.0 site, the List View Web Part in the new site
displays the default columns. Additionally, the changes that you make
to the List View Web Part are not retained.