Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

PortalWebHosting
  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  DNN Image Upload Control
Previous Previous
 
Next Next
New Post 6/23/2008 10:15 PM
Unresolved
User is offline ajsansone
187 posts
www.graphicsphere.net/
9th Ranked


DNN Image Upload Control 
Modified By ajsansone  on 8/2/2008 5:57:38 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?


Anthony John Sansone
Graphicsphere.Net, President
Palm Harbor, Florida, U.S.A.
http://www.graphicsphere.net
View Anthony J. Sansone's profile on LinkedIn
 
New Post 6/24/2008 3:19 PM
User is offline Charles Nurse
2902 posts
5th Ranked










Re: Image Upload Control 

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 7:22 PM
User is offline ajsansone
187 posts
www.graphicsphere.net/
9th Ranked


Re: Image Upload Control 
Modified By ajsansone  on 6/28/2008 9:25:39 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.


Anthony John Sansone
Graphicsphere.Net, President
Palm Harbor, Florida, U.S.A.
http://www.graphicsphere.net
View Anthony J. Sansone's profile on LinkedIn
 
New Post 6/29/2008 9:54 AM
User is offline Tikkune
198 posts
9th Ranked




Re: Image Upload Control 

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 3:00 PM
User is offline ajsansone
187 posts
www.graphicsphere.net/
9th Ranked


Re: Image Upload Control 
Modified By ajsansone  on 6/29/2008 7:04:15 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.


Anthony John Sansone
Graphicsphere.Net, President
Palm Harbor, Florida, U.S.A.
http://www.graphicsphere.net
View Anthony J. Sansone's profile on LinkedIn
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  DNN 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.

 


Get Smarter Mail, SmarterStats, SmarterTickets
Windows mail server, web log analytics, and customer service management software - Free Editions Available!
www.smartertools.com
DotNetNuke Modules, Skins, Training and Consulting
If you want DotNetNuke done right then look no further. Developed Solutions provides module development, skin design, user and developer training and consulting. Based in Adelaide, Australia, we offer our services worldwide.
www.developedsolutions.com.au
Venexus, Inc.
Need custom a custom DotNetNuke module? From module planning to deployment, including training and support, Venexus developers deliver end-to-end web solutions on time and on budget.
www.venexus.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP