Mitchell
Mitchell

Reputation: 253

Visual Studio can't recognize DNN's DnnFilePicker

I'm using DnnFilePicker in my Settings.ascx of my module. Though when I run the program the DnnFilePicker works, Visual Studio keeps complaing about it in the designer.vb. I keep getting the Type 'DotNetNuke.Web.UI.WebControls.DnnFilePicker' is not defined.

For some reason such a file extension doesn't exist. Normally I wouldn't complain because it works, but I need to get access to the variables of the FilePicker I made. Any ideas why Visual Studios can't find it?

Upvotes: 0

Views: 540

Answers (1)

Dave D
Dave D

Reputation: 691

In your project make a reference to "Dotnetnuke.Web.dll". That is where the library of DotNetNuke webcontrols reside.

Upvotes: 3

Related Questions