Click here to Skip to main content
15,886,422 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using HTTPUploadHandler to upload multiple files. Files getting uploaded successfully... But I need to disable silverlight control in aspx page after files getting uploaded. How can i do this.


public class HttpUploadHandler : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
}
}


What i want is disable the "Select Files", "Upload", "Clear List"; buttons in the uploading process? And re-enable them back after completion? Many thanks in advance.
Posted
Updated 4-Dec-10 0:19am
v2
Comments
AspDotNetDev 4-Dec-10 4:45am    
Your PRE blocks are all screwy. You should fix them.
Member 8106329 23-Nov-11 5:12am    
I am using HTTPUploadHandler to upload multiple files. Files getting uploaded successfully... after that i want to redirect to .aspx page

Surround the Silverlight element in a DIV. Use document.getElementById (JavaScript) to find the DIV, then either remove the DIV from the DOM or make it invisible (e.g., by setting display to none, visibility to hidden, and width/height to 0). One example here: http://forums.silverlight.net/forums/p/191430/441931.aspx.
 
Share this answer
 
How can i do this in ashx page...
 
Share this answer
 
Comments
AspDotNetDev 4-Dec-10 19:13pm    
I don't really follow you, sorry. By the way, you should have posted that as a comment in response to my answer rather than posting an answer.
SatyaKeerthi15 5-Dec-10 22:55pm    
Silver Light element in aspx page.... Logic to save files is in ashx page. After files get uploaded need to move to the aspx page. How can I do this.
context.Response.Redirect("~/CallingAshxPage.aspx");// HttpContext context;
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900