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.0Error in DNN URL ControlError in DNN URL Control
Previous
 
Next
New Post
12/17/2009 8:09 PM
 

I took a look at the URLControl code for DNN framework v 4.09.00 and find that the issue relating to use of the URLControl in an AJAX UpdatePanelI had been fixed long before that version - probably back in DNN 4.05.03 - so don't believe that that is the problem. Although it might still be if the control is inside two nested update panels - your own explicitely added UpdatePanel inside of the one in which the module control is wrapped if Supports Partial Rendering is enabled in the module definition.

As the exception is apparently raised early in the URLControls cmdSave_Click handler, before the FileSystemUtils.UploadFile method is called I still suspect that the URLControls HtmlFileInput child control's PostedFile property is the cause of the null reference. As Sebastian indicated, this might also be due to some of the control's properties that are not being set correctly.

Are you able to debug your module in a DNN source install so that you can set a breakpoint at the top of the URLControl's cmdSave_Click handler and step through it's code?

If not, please advise how you are setting the URLControl's properties.


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
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Error in DNN URL ControlError in DNN URL Control


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