views:

152

answers:

2

Is it possible to share properties between different web parts? I would like a user to only enter there user name and password in one web part and it be accessible in other parts.

A: 

You can do this by connecting the web parts. Look into implementing the complementary IRowProvider and IRowConsumer interfaces. This article explains the basics and walks you though an example.

Peter Stuer
+3  A: 

I think that it would be easier to store the properties in the property bag of the page/site. Like this you could share them not only among web parts but controls as well.

Waldek Mastykarz - MOSS MVP