W
WT
Hello,
I have a dictionary made with objects which contain a control element, the
control element is added to a Page when I want to edit the dictionary
content.
I put this dictionary in cache to improve ovaral speed.
But I am using Ajax.Net and somme of my controls are registering script with
the scrip manager on the PreRender stage of the control and it appears that
the control elements, when saving the dictionary in cache, are also saved
as members of the main dictionary object.
Doing so, depending on their status at the time of caching, they seem to
save an indicator saying that Prerender as aleady been done and when I
reload from cache and try to display again theses controls, they are unable
to register their script because the indicator says that:
Script controls may not be registered after PreRender.
So I am looking for a fast way to avoid thta the control element in each
object e saved in cache ?
Isn't their some declarative syntaxe to set on the element and saying 'Don't
go in cache'
Thanks for help.
CS
I have a dictionary made with objects which contain a control element, the
control element is added to a Page when I want to edit the dictionary
content.
I put this dictionary in cache to improve ovaral speed.
But I am using Ajax.Net and somme of my controls are registering script with
the scrip manager on the PreRender stage of the control and it appears that
the control elements, when saving the dictionary in cache, are also saved
as members of the main dictionary object.
Doing so, depending on their status at the time of caching, they seem to
save an indicator saying that Prerender as aleady been done and when I
reload from cache and try to display again theses controls, they are unable
to register their script because the indicator says that:
Script controls may not be registered after PreRender.
So I am looking for a fast way to avoid thta the control element in each
object e saved in cache ?
Isn't their some declarative syntaxe to set on the element and saying 'Don't
go in cache'
Thanks for help.
CS