Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Parameters to a web part

  Asked By: Scottie Terrell         Date: Mar 01, 2008      Category: Sharepoint      Views: 299
 

I'm using the Media Player Web part and would like to dynamically
populate the attribute "MediaSource" with a URL from a sharepoint list.

A more general question is how do I access attributes of web parts and
alter them on the fly? Can I do it from within a page layout or am I
going to have to write that functionality into the web part.

Tagged:        

 

2 Answers Found

 
Answer #1       Answered By: Miranda Scott          Answered On: Mar 01, 2008       

What Media Player Web Part are you using?

 
Answer #2       Answered By: Deirdre Macias          Answered On: Mar 01, 2008       

I am not familiar with the Media Player web  part, but
here's one way to access  attributes of web parts  on
the fly:

Add a custom web part  to the page. Your custom web
part uses the SPLimitedWebPartManager class to Add,
Edit, or Remove other web parts on the page.

 
Didn't find what you were looking for? Find more on Parameters to a web part Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].