Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

ASPxUploadControl - How to add additional fields to post information along with the uploaded file

$
0
0

This example illustrates how to use the ASPxUploadControl and a description field together.

To obtain the desired result, the ASPxUploadControl and ASPxTextBox are composed as a Web User Control. File uploading is executed by pressing a postback button. When a file is uploaded to the server, the inputing information from the ASPxTextBox is displayed under the upload control. This is only a demo. You can use this string to save it to your server-side storage with the corresponding file.

Question Comments

Added By: rut jeronimo at: 2/27/2013 7:51:37 AM    

Would you might attach the example?? Please

Added By: Marion (DevExpress Support) at: 2/27/2013 9:00:06 PM    

@Rut,
Please click Downloads - > Example to download the project.

Added By: João Batista at: 6/4/2013 1:16:34 AM    

How to do the same thing in MVC? in the scheduler I did that using the client-side event :

function BeginCallBack(s, e) {
            e.customArgs["idT"] = SomeVar;
        }

is there a similar thing in UploadControl?

Added By: PeO at: 10/1/2015 5:25:29 AM    

Hi. I can't get this to work properly in 15.1.7. When I click btnSubmit, only the FilesUploadComplete event is fired, not the FileUploadComplete, and the textbox has its content. If I use the integrated upload button, both events are fired but the textbox content is empty.
/PeO

Added By: Helen (DevExpress Support) at: 10/1/2015 7:48:06 AM    @PeO,


To process your recent post more efficiently, I created a separate ticket on your behalf: T295851: ASPxUploadControl - How to add additional fields to post information along with the uploaded file - Example does not work in 15.1.7. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>