Re: Sharing properties between related web parts

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Stephen Walch (swalch_at_online.nospam)
Date: 10/22/04


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.



Relevant Pages

  • Re: Fork bombing a Linux machine as a non-root user
    ... >>installation values known to the ops, and expect ops to address the ... >>resource allocation issue at time of installation. ... to use default settings suitable for all ops on all systems. ... sound card default settings and user ...
    (Fedora)
  • Re: setrlimit() extension suggestion
    ... shall not exceed a specified resource limit, ... Settings of, ... And setrlimit() doesn't do such a thing. ... only a process with root permissions may set the hard limit. ...
    (comp.os.linux.development.system)
  • Re: Mailbox Settings vs. Global Settings
    ... Currently, defaulting Global Settings ... >> As per Exchange 2000 server Online Help, ... Therefore, mailbox settings supercede global ...
    (microsoft.public.exchange2000.admin)
  • Re: staggered assignment for resources.
    ... rather to the particular set of settings you must have applied ... Whatever your experience, sorry, leveling does that if you allow it to ... I am managing a complex program and need help in resource allocation. ... My tech architect may need about 10 days ...
    (microsoft.public.project)
  • Re: How to keep command window from becoming dockable
    ... when you start VFP from the command window? ... resource files being used.... ... resource file is being corrupted because all of the other settings in the ...
    (microsoft.public.fox.programmer.exchange)