Hi I have table where I dynamically add rows from a db. In the table I wan't to put a img, when the user clicks on the img the server is supposed to initiate a file download. Now for this page I added the ScriptManager and I placed the table inside and UpdatePanel (only specific controls can update this panel). I can only add the rows of the table once not on every postback. So there is no way I can raise events from controls inside the table! I have looked at everything from page methods to web services to figure out how I initiate downloads (server side) from dynamic controls and without causing a postback.
Firstly I am open to any ideas, and will appreciate help greatly!
However I specifically am interested in using a WCF service.
I saw a snippet where a particular OperationContract had for a paramater HttpContext. With this HttpContext the code called the WriteFile() method. The question is how if possible do you pass an HttpContext with Javascript?
...
Go to the complete details ...