views:

26

answers:

1

Trying to use the dnn webupload control in a dnn 4.9.2 module. I am using this in the settings.aspx of my module. When I load the page I get a null exception on this line in the page_init:

Me.ModuleConfiguration.ModuleTitle = Services.Localization.Localization.GetString("UploadType" & FileType.ToString, Me.LocalResourceFile)

I tried to set the FileType, which is what is null but it is read only. I would static the title, but I don't want to change core code, for upgrade reasons.

Any suggestions?

A: 

The control expects a parameter in the querystring. I decided to put my code in the edit module page instead of the settings page as the edit page does not user an AjaxUpdate panel which was causing issues with the asp.net fileupload control. So I scrapped the webupload control and used that.

James Campbell