I'm still trying to wrap my head around this concept.
For starters I have a RadGrid populated through the NeedDataSource. I have it set up to edit individual records through a FormTemplate. So far so good. I can insert and update records.
What I need is to is add an attachment to each record in a varbinary(MAX) field. The RadAsyncUpload control has to be within the FormTemplate.
Do I understand the process correctly?
The RadAsyncUpload control will upload the object (most likely a doc) to a temp folder on the web application's server. The OnFileUploaded event will then allow me to convert the file to a binary array which can be accessed from the RadGrid1_InsertCommand and added to the inserted record there?
For starters I have a RadGrid populated through the NeedDataSource. I have it set up to edit individual records through a FormTemplate. So far so good. I can insert and update records.
What I need is to is add an attachment to each record in a varbinary(MAX) field. The RadAsyncUpload control has to be within the FormTemplate.
Do I understand the process correctly?
The RadAsyncUpload control will upload the object (most likely a doc) to a temp folder on the web application's server. The OnFileUploaded event will then allow me to convert the file to a binary array which can be accessed from the RadGrid1_InsertCommand and added to the inserted record there?