Re: Sharing properties between related web parts
From: Stephen Walch (swalch_at_online.nospam)
Date: 10/22/04
- Next message: Sébastien DELCROIX: "RE: UpdateListItems error - the right way to batch update document"
- Previous message: Assaf: "Re: Web part development environment"
- In reply to: Wei-Dong XU [MSFT]: "RE: Sharing properties between related web parts"
- Next in thread: Wei-Dong XU [MSFT]: "Re: Sharing properties between related web parts"
- Reply: Wei-Dong XU [MSFT]: "Re: Sharing properties between related web parts"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 22 Oct 2004 12:12:24 -0400
Thank you. This sounds good for the global settings, but how about the
per-user or per-page settings? I want my related web parts on the same page
to share some properties. They should be set once whenever the first part
is added to the page (is is arbitrary which part will be added first) but
when the second part is added it should use the same settings.
"Wei-Dong XU [MSFT]" <v-wdxu@online.microsoft.com> wrote in message
news:Rwr9hN%23tEHA.3084@cpmsftngxa10.phx.gbl...
> Hi Steve,
>
> I'd suggest you can build one string resource file to store the global
> information and then place it in the resource folder provided by WSS. This
> sdk article "Web Part Class Resources" will introduce more for you.
> Web Part Class Resources
> http://msdn.microsoft.com/library/en-us/spptsdk/html/smpxbrowsres.asp
>
> In the Web part you can obtain the resource path from the property
> "ClassResourcePath", you can load these strings from the resource assembly
> then.
>
> In another way, you can also place the assembly in another specified
folder
> and then load it directly. This article will introduce more information.
> Retrieving Resources in Satellite Assemblies
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
> l/cpconLocalizingResources.asp
>
> Please feel free to let me know if you have any question.
>
> Best Regards,
> Wei-Dong Xu
> Microsoft Product Support Services
> Get Secure! - www.microsoft.com/security
> This posting is provided "AS IS" with no warranties, and confers no
rights.
- Next message: Sébastien DELCROIX: "RE: UpdateListItems error - the right way to batch update document"
- Previous message: Assaf: "Re: Web part development environment"
- In reply to: Wei-Dong XU [MSFT]: "RE: Sharing properties between related web parts"
- Next in thread: Wei-Dong XU [MSFT]: "Re: Sharing properties between related web parts"
- Reply: Wei-Dong XU [MSFT]: "Re: Sharing properties between related web parts"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|