Posted 11 Mar 2011
Link to this post
I need to achieve the following using the asyncupload
I have a grid inside a radtab/multiview that gets its items generated from previous tabs, so when the person selects the tab that contains the grid, I bound a list of already saved to database to the grid, so at this time I would like for each person (row) in the grid to have a "upload" button that will allow users to submit multiple (at once or one at a item) images/documents which will automatically be saved to the database (assuming I will need to cause a postback after file complete on clientside has been called)
What I am unsure of is how to detect which row the upload was caused from.
I am not using the built in edit modes of the grid and have no desire to do so as the only thing that is being added are images and nothing else for that person's row.
Can you tell me what is the best way to approach this problem, do i have to use a custom handler to do this? if yes, how do i still find out the persons ID that the upload is being caused for.
Grid with multiple upload controls, one for each row, on each upload, I want a direct save to database with the row id (person id) being sent so I can save it along the document.
Also, I would like to add that I am using a radajaxmanager on the page so if I have to, then I can just cause a "postback" for the upload file event to fire from the onclientfileuploaded, at this point my main problem is to figure out which row of the grid the upload was initiated from or if the scenario with radajaxmanager causing the postback is inferior to the custom handler solution.