This is a migrated thread and some comments may be shown as answers.
Grid Scenario
1 Answer 22 Views
This is a migrated thread and some comments may be shown as answers.
eHealth
Top achievements
Rank 1
eHealth asked on 11 Mar 2011, 09:56 PM
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.

in short
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.

1 Answer, 1 is accepted

Sort by
0
Genady Sergeev
Telerik team
answered on 17 Mar 2011, 11:08 AM
Hello RON,

We've already answered to this  query in the support thread. I suggest that we continue the conversation there.

Greetings,
Genady Sergeev
the Telerik team
Asked by
eHealth
Top achievements
Rank 1
Answers by
Genady Sergeev
Telerik team
Share this question
or