CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > general_asp.net.web_parts_and_personalization Tags:
Item Type: Date Entered: 5/4/2007 10:56:24 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 1 Views: 43 Favorited: 0 Favorite
2 Items, 1 Pages 1 |< << Go >> >|
"gitome" <>
NewsGroup User
How can i get the page context of other pages to add a webpart5/4/2007 10:56:24 AM

0

Hello everone,

i try to explain: i?ve written a treeview webpart to receive all webs in a wss 3.0 application. Now i can check the webs in the treeview and want to add an other webpart to the selected webs.

 

Here is my problem: I have to give the WebpartManager the page context. As far as i understand i?m able to get the context not until the page has started to build. Is it possible to do a "remote call" to the page and catch the init-event to add my webparts at that state? Or could changing the masterpage help me to work this out?

 

I?m quiet a rookie on sharepoint, don?t hesitate to tell me that this can never work.

 

Thanks,

 

Regards,

Martin

"Kevin Yu - MSF
NewsGroup User
Re: How can i get the page context of other pages to add a webpart5/10/2007 8:55:10 AM

0

Hi,

In the web part, you cannot control the parent page to do something. Also, the "remote call" is impossible. This can only be done in the Page.Init in the parent page event handler.

HTH. If this does not answer your question, please feel free to mark the post as Not Answered and reply. Thank you!


Sincerely,
Kevin Yu
Microsoft Online Community Support

Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Mark as Not Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:













web part personalization and web part custom designing

moving the webparts from left or right webpartzone without dragging and dropping

blog using web parts

webpart for text changes in a simple cms

webpartzone drag border style

web part functionality for each control within a page

shoutbox webpart

should verbs be visible?

need a sharepoint web part.

refreshing contents of other web part zone when change happens in one web part

page viewer webpart and auto resizing

backslash conversion issue in membership and profile

catalogzone and zone names not being displayed

created custom control for sharepoint, i have the .dll how do i add it to sharepoint designer?

webpart parttitle

project center webpart crash

manually setting personalization connection strings at runtime

[:'(] [help]webpart can't work in iis

sortable gridview in webpart

how are web parts persistant?

database with webparts

dynamic webparts id.

using personalization features w/ provider model

replace genericwebpart with my custom part?

live sites using webparts?

dynamic keyword insertion ?

webpart starting order

how to render existing web pages via portal web parts

webpart, personalization with same code base

web parts interaction at client side

creating web parts for sharepoint

allowzonechange...eventhandler?

multiple values in sharepoint web parts

turn off personalization on a specific page

how can i add custom verbs to a webpartzone?

how can i track webparts' changes

how not to mix up the shared and user personalization webparts layout/data..

sharepoint error.... ?

web parts with user management and roles question

web part drag and drop is not working

webpart control unique id

permission problems

web part communicate/fill an aspx/aspx.cs file??

uploading documents from an loacal folder...

how to acces web part database ?!

using sharepoint webparts in asp.net

high-lighting the selected link buttons and client side events for close minimise

asp.net 2.0 table profile provider with create new user.

accessing tables in database through sharepoint server 3.0 web part

when is profile object available

   
  Privacy | Contact Us
All Times Are GMT