a problem with Threading in ASP.NET
-
i have a webform, with a button and a listbox, when i click on the button it should run many threads, and when each one finishes its work it should add an item in that listbox indicating that it's finished, so the problem is that i need to make a thread to add an item in a listbox when it's finished working, sould i need to refresh the page, or what...??? plz help me:((
-
i have a webform, with a button and a listbox, when i click on the button it should run many threads, and when each one finishes its work it should add an item in that listbox indicating that it's finished, so the problem is that i need to make a thread to add an item in a listbox when it's finished working, sould i need to refresh the page, or what...??? plz help me:((
Well, it depend on how you add.. if you are adding the listitem from Javascript, you wont' need to refresh thage page.. otherwise, you will need....
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)
-
Well, it depend on how you add.. if you are adding the listitem from Javascript, you wont' need to refresh thage page.. otherwise, you will need....
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)
it's a server-side control, i wanna make it just like AJAX scenario, plz help the problem is i can't refresh the page from other class defined in the page class, i pass the httpcontext to that class, and i have an error message tells me : cannot redirect the page after the http header has been written, how can i resolve this error help meeeeeeeeeee
-
it's a server-side control, i wanna make it just like AJAX scenario, plz help the problem is i can't refresh the page from other class defined in the page class, i pass the httpcontext to that class, and i have an error message tells me : cannot redirect the page after the http header has been written, how can i resolve this error help meeeeeeeeeee
You wanna add new listitem to dropdown server control without refreshing the page??? then, just write the code for adding new listitem in normal way.. place the dropdown and button within UpdatePanel...
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)
-
You wanna add new listitem to dropdown server control without refreshing the page??? then, just write the code for adding new listitem in normal way.. place the dropdown and button within UpdatePanel...
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)
the page has been posted back and redrawn to the client, now the page is still, and there're some threads that run behind that page, every one has to put a list item in that listbox after it finishes its work, can i do that without refresh the page, or are there any other alternatives that i can solve this problem.....