Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > How to use Photo upload and avatar View modes: 
User avatar
Member
Member
bages-rediff - 9/29/2009 10:42:21 PM
   
How to use Photo upload and avatar
HI,

I am new to Kentico CMS.I am creating the membership registration page.In the page I need to include the photo upload.
Please guide me to how I can implement it.

User avatar
Kentico Consulting
Kentico Consulting
kentico_mirekr - 9/30/2009 9:01:30 AM
   
RE:How to use Photo upload and avatar
Hi,

You can place for example registration form web part (~\CMSWebParts\Membership\RegistrationForm.ascx.cs) on you page template and modify it according your needs. You can add standard asp:FileUpload control to layout (.ascx file) of this web part and in code behind of this web part you can simply use example code from ~\CMSFormControls\UserPictureEdit.ascx.cs UpdateUserPicture method to save uploaded file together with user information into database.

Best Regards,
Miroslav Remias.