asp.net - RadAsyncUpload in code behind, how to? -


my problem is, nothing happens, code behind doesn't fire...maybe point me in right direction. possible or totaly wrong here?

default.aspx:

    <telerik:radprogressmanager runat="server" id="radprogressmanager1" />     <telerik:radasyncupload runat="server" id="asyncupload1" />     <telerik:radprogressarea runat="server" id="radprogressarea1" /> 

default.aspx.cs:

    protected void asyncupload1_fileuploaded(object sender, fileuploadedeventargs e)     {         const string relativepath = "~/uploads/";         var filename = e.file.filename;         var parentid = convert.toint32(gridview1.selectedvalue);         var filesize = convert.toint32(e.file.contentlength);         var physicalsavepath = mappath(relativepath) + filename;           //store file info in database             var app_filesadapter = new app_filestableadapter();             app_filesadapter.insert(filename, relativepath + filename, parentid, 1, datetime.now, filesize);          //save physical file on disk             e.file.saveas(physicalsavepath, true);     } 


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -