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.
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.