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

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Using DNN file upload and FCK editor controls in moduleUsing DNN file upload and FCK editor controls in module
Previous
 
Next
New Post
2/5/2009 11:18 PM
 

Okay, I'm starting to work on my very first DNN module.  The tutorials over at adefwebserver are a real help.  Thanks Michael!

I'm starting off simple with a module that displays a listview in the view control and populates it in the edit control.  I've seen lots of modules that do this that use what look like standard DNN controls for uploading a file (I will be uploading an image file -- an avatar) and including the FCK editor (like I'm using to write this post) for a text box.

How do I use these standard controls?  Where can I find them?  I'm currently on 4.9.1 with Visual Web Dev 2008.

Thanks for your help!

Alden

 
New Post
2/6/2009 12:30 AM
 

Michael has done a great job with those tutorials, but we've got sooo much information to documentation its hard to find all the information. That's why I created a wiki that we can contribute to. I just started to create the article on some of the UI controls you can utilize when developing DNN modules. Right now it's pretty basic, but it will at least get the objects rendered in your module.

I'm working on expanding this article a bit, and adding some more useful notes and more controls. Hopefully this will get you (and others) going in the right direction....

 
New Post
2/6/2009 2:05 AM
 

Wow, thanks, this is great!  I hope to be able to contribute once I figure all this stuff out myself.

The textbox control worked fine, but I'm guessing I need the <dnn:URL ...> control for the file upload.  When I add this one to my form and add <%@ Register TagPrefix="dnn" Assembly="DotNetNuke" Namespace="DotNetNuke.UI.WebControls" %> I get an "unknown server tag dnn:URL."  I'm guessing I'm missing a reference.  Which one should I add?

 
New Post
2/6/2009 2:24 AM
 

Yup, haven't added that bit yet :(

Add a reference to the DotNetNuke.WebControls.dll in your visual studio solution....

 
New Post
2/6/2009 2:41 AM
 

opps... actually it was a typo when I was copying and pasting all those controls from a page that uses them...

You want to use <%@ Register TagPrefix="dnn" TagName="URL" Src="~/controls/URLControl.ascx" %>

I updated the reference to the URL control in the wiki too :)

 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Using DNN file upload and FCK editor controls in moduleUsing DNN file upload and FCK editor controls in module


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