P
Peter Kirk
Hi
does a control know when it is no longer being shown?
What I mean is that I have several controls (ascx) which use the Session to
store data. The controls are not on the same page (aspx) but use some of the
same "names" for data in the Session - and this can cause conflicts between
the controls.
What I would like to do is to remove data from the Session when a control is
no longer on the page being shown - does a control have a
"no-longer-on-the-displayed-page" method/event which I can override and add
code to remove data from the Session?
Thanks,
Peter
does a control know when it is no longer being shown?
What I mean is that I have several controls (ascx) which use the Session to
store data. The controls are not on the same page (aspx) but use some of the
same "names" for data in the Session - and this can cause conflicts between
the controls.
What I would like to do is to remove data from the Session when a control is
no longer on the page being shown - does a control have a
"no-longer-on-the-displayed-page" method/event which I can override and add
code to remove data from the Session?
Thanks,
Peter