How can I stop it remembering my webzones?

A

Alan Silver

Hello,

I am just experimenting with web parts, and I am trying to find out if I
can add web parts to a WebPartZone at run time. I have managed to do
this OK, but have found that the parts are remembered between sessions.
Whilst I understand that this is normally a Very Useful Feature with web
parts, it's not what I want. I want to be able to display web parts
specific to the database item being used on the page.

Is there any way of forcing .NET to ignore the webparts that I add to a
zone? At the very least, can I clear a WebPartZone of all WebParts
before I add my own? I would prefer to have it not save them at all, but
at east clearing them would help.

Thanks for any suggestions.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,438
Messages
2,571,699
Members
48,796
Latest member
Greg L.
Top