Transloadit and C#

Archived from the Transloadit support forum. Originally posted on January 8, 2012; details may be outdated, see our docs for current behavior. Original thread

Hello!

I know, there’s no SDK for C# available, but are there any examples for implementing the upload-form in an ascx-control?

Thanks, Dieter

Hey Dieter,

not that I know of. But we have some C# experience in the team and could probably provide you some help with that.

Hi Tim!

That would be great because I find the service very helpfull. That is, what I was searching for. Unfortunatelly I couldn’t succesfully implement the form in my controls.

Thank you for your help, Dieter

Hi Dieter,

what is your exact problem when you followed this guide?http://transloadit.com/docs/the-minimal-integration

Kind regards,
Karl Skomski

Hi Karl!

There are several problems:

In .NET is only one form-tag possible, so if I want to put the upload-form in a control, I have to access the form-tag in the underlaying Master-Page. This problem is solvable.

The other problem is, that it is not possible to use enctype=“multipart/form-data” in .NET

I’m not able to build an upload-form with the provided guide. I’m sure. that it is possible however to use your service with C# as well, but I didn’t found the solution and any help or working solution would be highly appreciated.

Dieter

Hi Dieter,

sorry but is this not what you need for your second problem?

http://msdn.microsoft.com/en-us/library/system.web.ui.htmlcontrols.htmlform.enctype(v=vs.100).aspx

Kind regards,
Karl Skomski