HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0DNN Image Upload ControlDNN Image Upload Control
Previous
 
Next
New Post
6/23/2008 9:15 PM
 

Charles Nurse We Need Your Help! I have thought alot about your documentation on creating new editor controls and have a question before I begin. Do you recommend having an image upload control in the profile property editor? The chart below shows your organization structure of the editor controls and need some advice on how to implement a new image upload control in the profile property editor.

EditControls.png

Where in the organizational chart would you implement the image upload control in the profile property editor? Where do you recommend storing the settings of the new image upload control?

 
New Post
6/24/2008 2:19 PM
 

My answer to this is that it depends on how you intend to store the reference to the file.

If you are using the File Upload for a user's image for example, you could build an upload control that inherits from the TextEditControl, and the Value would be the URL - then in "View" mode the image wouldbe displayed.

Alternatively, if you use the DNN File/Folder API and store the file info in the database, you could save the FileID, which would mean you should inherit from the IntegerEditControl.


Charles Nurse
DotNetNuke Trustee,
Senior Architect, DotNetNuke Coporation
MVP (ASP.NET) and
ASPInsiders Member
View my profile on LinkedIn
See my Blog for Articles on .NET, DNN and Module Development

View my Blog
 
New Post
6/28/2008 6:22 PM
 

Charles Nurse recently announced a Module Toolkit at http://www.codeplex.com/dnnModuleToolkit that includes a file upload control and image upload control that are built as add-on datatypes to the core profile property editor.

How-do-you-install the DotNetNuke Module Toolkit? Are there any step-by-step instructions for extracting, moving, compiling and uploading the files of the toolkit to an existing DNN Website?

These are all questions that I hope will be answered soon so I can put together instructions on adding an image and file upload control as two new datatypes to the user's profile.

 
New Post
6/29/2008 8:54 AM
 

I have been looking for a DotNetNuke Image Upload Control for some time, maybe a year or more. I am not a developer - more Host/Admin user - but I welcome any activity involving image upload control testing, documentation, deployment. Please, let me help.

I particularly use Andrew Nurse's Reports Module, along with snippets of SQL, to pull and render User Profile data. I'd like to store at least a single image with each user profile, and using Reports Module, display that image, along with other User Profile data.


If a problem can be solved, there's no use worrying about it.
If it can't be solved, worrying will do no good.
 
New Post
6/29/2008 2:00 PM
 

It took me awhile to figure out how to build the DNN Module Toolkit and then upload the project's bin files (e.g. DotNetNuke.ModuleToolkit.dll) to my website's bin folder and basically added a new datatype to the Host --> Lists --> Datatypes menutree.

The object qualifier name for the new datatype entry I used was DotNetNuke.ModuleToolkit.Controls.ImageEditControl, DotNetNuke.ModuleToolkit

I can't seem to figure out why the ImageEditControl and the FileEditControl always defaults to Normal View Mode rather than File Upload View Mode. Notice how there is no upload command.

Folder
 
File

Also, everytime I go to select an image from the file dropdownlist I get the following error message:

A critical error has occurred.
Object reference not set to an instance of an object.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0DNN Image Upload ControlDNN Image Upload Control


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.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.