Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
WebHostForAsp.net
 


  Sponsors  

Meet Our Sponsors

AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  File Upload Problem
Previous Previous
 
Next Next
New Post 7/7/2008 5:57 AM
User is offline uma
8 posts
10th Ranked


File Upload Problem 

Hi,

I have to get user's photo when they update their profile. I am using HTML file control as well as fileupload control to get the photo path.

But after selecting the path, if I click upload button, the content in the fileupload control is not found.

Also I have analysed the default modules present in the application. In Admin\files\Webupload control page, the html File control is used to get tje image. In that page, the value of the fileupload control is maintained properly.

Can you please let me know how can i upload the user's image usinf the html's file control or fileupload control ?

Thanks,
Uma

 
New Post 7/7/2008 6:03 AM
Online now... Mitch Sellers
5372 posts
www.mitchelsellers.com
3rd Ranked




Re: File Upload Problem 

Most likely your control is being wrapped in an update panel, ensure that the "Supports Partial Rendering" box is NOT checked for the control.


-Mitchel Sellers
MCITP, MCPD, MCTS
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Consulting Quotes, and DNN Technical Support Services

I reccomend 3Essentials for shared hosting and BaseCamp for project management
 
New Post 7/7/2008 6:34 AM
User is offline William Severance
745 posts
www.wesnetdesigns.com
7th Ranked






Re: File Upload Problem 

As an alternative to not using an update panel, you can force the button which triggers the upload to cause a full postback. In your control's Page_Load handler, use the following code (where btnUpload is a reference to the button triggering the upload):

If DotNetNuke.Framework.AJAX.IsInstalled Then DotNetNuke.Framework.AJAX.RegisterPostBackControl(btnUpload)


Bill, WESNet Designs
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  File Upload Problem
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Viva Portals, L.L.C.
Expert module development and graphic design.
www.continure.com
DNN Photo Gallery
DNN Photo Gallery is a truly unique photo management module released January 1st 2006. With DNN Photo Gallery you can REALLY integrate images into your existing portal and make them look like they were designed for your site.
DNN Photo Gallery
Swirlhost Inc.
Affordable DotNetNuke Hosting, Skin Development, Custom Module Development, and DotNetNuke Consulting. We will install your preference of DNN and now host with us and get a free license for the Swirl AJAX Chatroom Module.
www.swirlhost.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP