Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Parameters to a web part

  Asked By: Scottie    Date: Mar 01    Category: Sharepoint    Views: 998

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.

Share: 

 

2 Answers Found

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

What Media Player Web Part are you using?

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

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.




Tagged: