Hi, I need an advice how to make something work:
I am running this program via an aspx page.
the user is giving me some data via the form and then when he press 'run' button it create an instant of class "serverMaintain" and start running it.
I wanted to know how I can I give the user a "processing" status, and the "done".
first I made the from inside a <div> and I made anther div for the status, then
I run the "serverMaintain" as a thread and gave it in the constructor a ref to both the divs. then when the working procedure started I changed the div according to processing status and then at the end to done status.
the only problem is when I tried to worked the divs by reference from the "serverMaintain" I got serialization exception.
I guess there are better ways to do that. ill be happy to know about them or about a way to fix mine.
is there a way that I can run a "server side" script from my thread? that will solve the problem.
Thanks
I am running this program via an aspx page.
the user is giving me some data via the form and then when he press 'run' button it create an instant of class "serverMaintain" and start running it.
I wanted to know how I can I give the user a "processing" status, and the "done".
first I made the from inside a <div> and I made anther div for the status, then
I run the "serverMaintain" as a thread and gave it in the constructor a ref to both the divs. then when the working procedure started I changed the div according to processing status and then at the end to done status.
the only problem is when I tried to worked the divs by reference from the "serverMaintain" I got serialization exception.
I guess there are better ways to do that. ill be happy to know about them or about a way to fix mine.
is there a way that I can run a "server side" script from my thread? that will solve the problem.
Thanks