Save some ID before onfileuploaded gets fired for a radasyncupload

Posted by Anu_Dgr8 under ASP.NET on 11/1/2012 | Points: 10 | Views : 2527 | Status : [Member] | Replies : 1
I have a aspx page in which few details are entered using controls and also radasyncupload control is used to upload files.
An i have Button_Onclick event as well as AsyncUpload1_OnFileUploaded event.
Here AsyncUpload1_OnFileUploaded event is gettin fired before Button_Onclick .
But i want to fire Button_Onclick before AsyncUpload1_OnFileUploaded event since i am performing insertion of records on Button_Onclick event and an ID is generated which i need for AsyncUpload1_OnFileUploaded event ,since i am PERFORMING Insertion of that generated ID for mutiple files uploaded .

Please help.

Thanks and Regards,
Hoosha Boosha


Posted by: Anu_Dgr8 on: 11/1/2012 [Member] Starter | Points: 25

I tried putting the following code inside Button_Onclick event (after that ID is generated):


But,its thowing error as: The best overloaded method match for 'AsyncUpload1_OnFileUploaded(object, Telerik.Web.UI.FileUploadedEventArgs)' has some invalid arguments

Please help,Its Urgent.

Thanks and Regards,
Hoosha Boosha

Anu_Dgr8, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response