Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Custom bizform with file input/processing View modes: 
User avatar
Member
Member
pfitzer - 2/2/2010 3:48:14 PM
   
Custom bizform with file input/processing
Hi,
wanting to create a custom bizform that only needs to parse the selected input file. Simple, one would think, but I'm pretty new to the kentico dev env!
I've gone through the process of cloning the bizform webpart and adding in my file input control with a submit button, but it doesn't seem that any event is firing on submit.
So, if anybody could point me in the right direction, it would be greatly appreciated and save my head from repeated bangs against the desk!

Regards

User avatar
Kentico Consulting
Kentico Consulting
kentico_mirekr - 2/3/2010 2:39:46 AM
   
RE:Custom bizform with file input/processing
Hi,

You can create new field of type File Uploader in your BizForm:

http://devnet.kentico.com/docs/devguide/creating_a_new_bizform.htm

Then in code behind of your BizForm web part you can access the uploaded file in some of the BizForm event like OnBeforeSave, OnAfterSave etc.:

http://devnet.kentico.com/docs/devguide/bizforms_api.htm

Best regards,
Miroslav Remias.

User avatar
Member
Member
pfitzer - 2/3/2010 8:29:42 AM
   
RE:Custom bizform with file input/processing
Great. That was exactly what i needed.
Appreciate the help.
P