|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
IHttpHandler persistenceitems to provide all can be retrieved from one DB query and yet are not serially located (they are dispersed throughout page in different places). Because of this I would love to have the page instantiate my IHttpHandler class and have it persist throughout the building of the page, but I cannot have it persist beyond that. Is it possible to have the control instantiate at the beginning of the page and not be used for any other page and then be disposed of at the end of the build? I have decided that the answer is no based on what I could gather from MSDN and web searches, since IsReusable does not provide a clear enough answer to the overall "Where should it be reused?" question. Is there a way to implement this and guarantee the persistence and disposal of the control class when it should be done? Because I have not found an answer to this question, I am basically divvying up the task between PageLoad and the IHttpHandler, storing the needed data in the session info and that will work OK. Just wondered if any of you all had a cleaner idea... Thanks in advance! Robb
Error: Cannot use a leading .. to exit above the top directory.
DROPDOWNLIST SELECTEDINDEXCHANGED order of usercontrols processed by events of page HTMLInputFile Control for Multiple Files Submit form ASP.NET Server Controls not displayed in IE How to diisable textbox in datagrid Infragistics Web Control Accessing multiple instances of a control on a form Report & Sub Report |
|||||||||||||||||||||||