Search results for query: *

  1. H

    Upload file functionality disapeering at second bound

    Hello. I'm having a problem, using Telerik's ASP.NET Ajax RadAsyncUpload, to upload files. Everything is working fine when i perform the operation once, but when i try to do it a second time, the upload disapeers. I've tried to clean it's value, which works for the remaining atributes of the...
  2. H

    Upload in DB

    Thank you for the effort! I'm "half happy" because at least i was able to insert on empty registers.
  3. H

    Upload in DB

    The asyncupload method, which handles the file concludes, and the exception is throw in the end of the method. It doesen't overrite the stored file. For my searching there is no indication that this is normal, it should'n evaluate the old file. There is something missing me obviously, but i cant...
  4. H

    Upload in DB

    "The process cannot access the file because it is being used by another process"
  5. H

    Upload in DB

    weird.. i got public int InsertFile(ListagemTimesheet model) { try { using (model lt = new model()) { lt.ListagemTimesheets.AddObject(model); lt.SaveChanges(); return...
  6. H

    Upload in DB

    Coping the bytes to the variable fileBytes was the soluiton! But yet another problem now, cant´t can´t replace file in DB. I can only load if the DB register is empty. Any ideas on that?
  7. H

    Upload in DB

    fileBytes variable
  8. H

    Upload in DB

    I tried to do preciselly that, still getting null althaugh. public void RadAsyncUpload1_FileUploaded(object sender, FileUploadedEventArgs e) { RadAsyncUpload1.Visible = false; Stream fileStream = e.File.InputStream; Ficheiro = e.File.FileName; //...
  9. H

    Upload in DB

    the two postbacks, it performs an automatical one, when file is selected, saving the file on a designated, and in the second one we trigger the button into server. I really don't know, what could be missing or wrong on my code.
  10. H

    Upload in DB

    Telerik fileUpload does preciselly that from it´s construction. By theory i've done everything ok, it should be some mistake in the code
  11. H

    Upload in DB

    My save method is triggered in the save button of the upload, so i believe that's not the issue. I've tried your suggestion with any results. Another "cheating approach" i've made was trying to convert the file to byte[] directly in the save method, the following way. model.FileContent =...
  12. H

    Upload in DB

    Thank you, i haven't notice that. You know if it is possible to retrieve just the short extension? like PDF ou xlsx?
  13. H

    Upload in DB

    You're right but i cannot bind it in the Save method, so it must be something else that i'm missing
  14. H

    Upload in DB

    Hello community. I'm using Telerik ASP.NET Ajax's RadAsyncUpload in order to upload in DataBase. At the moment, i got some problems; it only allows one upload operations for postback, blocking after the first one. It´s saving FileContent as null, and FileExtension (FileTipo in my code) as blank...
  15. H

    Command Item Insert event

    Hello community. I have a strict architecture, which i have to follow. I0m trying to implement insert operations, but really don´t know how to do it following this logic. I have implemented the EditItem event, and the Save File also works, so i'm searching a similar operations to inserrt...
  16. H

    Using UserControl to Insert/Update

    Thank you for your feedback skydiver. I had the opposite idea: the bigger post, the worst, that's why i put it in a zip. I updated the question and shared relevant code!
  17. H

    Using UserControl to Insert/Update

    I wasn't able to do this specific implementation properly at all. All the information i found was with local DB and DataTable, so i just got syntax errors. When doing other other implementations, using DataBound event and commandName, i got no errors, and the control wasnt bound, so this...
  18. H

    Using UserControl to Insert/Update

    Hi Skydiver. Its telerik's ASP.NET Ajax.
  19. H

    Using UserControl to Insert/Update

    Hello community! I am using and following this Demo, and i want the exact same result for Insert and Update operations, my problem is that my architcture is totally different and i can't addapt it to the solution. My main problem is in the update and insert command events.. i tried several...
  20. H

    Resolved File downloads as "Defaulf.aspx" instead of normal content

    Now it passes the file, as the page form name (Default.aspx).. Don't have any reference to that
Back
Top Bottom