Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0FileUploader.HasFile In Settings Page of a Module is always returning falseFileUploader.HasFile In Settings Page of a Module is always returning false
Previous
 
Next
New Post
3/4/2009 10:13 PM
 

Unlike your view and other controls for which you can disable "Supports Partial Rendering", your settings control gets dynamically loaded into the core module settings page, modulesettings.ascx which DOES have "Supports Partial Rendering" enabled. As you have found out, the button which triggers the file upload must cause a full postback and as a general rule cannot be located within an UpdatePanel. Note there is no problem having the FileUpload control located within the UpdatePanel.

One way around this is to register the button which triggers the file upload as a post back button. Assuming that btnUpload is a reference to this button, place the following code in the Page_Init handler:

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

If you do not have a separate button which triggers the file upload, but rely on the Update button in the core modulesettings.ascx to also perform the upload, there is still a way (although more of a hack) to register that button. I recall posting the solution to that case about a year ago but can't find it right off.


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
4/26/2012 3:05 PM
 

Perfect. Your post was just the comment I was looking for. It worked fine...

 
New Post
7/4/2012 6:08 PM
 
hi!!!  this problem pass me too, but I found  this solution

https://sites.google.com/site/lagater...


however don´t work , pliss help!!

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0FileUploader.HasFile In Settings Page of a Module is always returning falseFileUploader.HasFile In Settings Page of a Module is always returning false


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out