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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPIHow to use dnn WebUpload controlHow to use dnn WebUpload control
Previous
 
Next
New Post
10/15/2008 10:06 AM
 

I am using Dnn 4.8.4

I dropped .net 2.0 fileupload control , but I am not getting my posted file in page load , so some suggest to use dnn webupload control instead of .net 2.0 file upload control . But I dont know how to add dnn webupload control

 

  to the tool bar , I added  reference Dotnetnuke.webcontrols.dll in bin folder of the Dotnetnuke project , Some controls got added DnnMenu, Dnntree,... but I couldnt find Dnn Webcontrol , Pleese suggest me .

 

thanks

Arvind

 

 
New Post
10/15/2008 10:30 AM
 

I believe you're looking for the URL Control.  First, register in on your control, with the following:

<%@ Register TagPrefix="dnn" TagName="Url" Src="~/controls/URLControl.ascx" %> 

Then, to setup the control to only allow file selection and upload, use the following:

<dnn:Url ID="UrlFileUpload" runat="server" UrlType="F" ShowTrack="false" ShowLog="false"
    ShowNewWindow="false" ShowUsers="false" ShowTabs="false" ShowNone="true" ShowDatabase="true"
    ShowSecure="true" ShowUrls="false" ShowUpLoad="true" ShowFiles="true"/>
<%-- UrlType is F for File --%>

Hope that helps,


Brian Dukes
Engage Software
St. Louis, MO
866-907-4002
DNN partner specializing in custom, enterprise DNN development.
 
New Post
10/15/2008 11:20 AM
 

Thanks Brian Dukes,

 

  Exactly this was what I am expecting , It helps me a lot .

   I want to set filelocation to only one folder name ( say Images in dotnetnuke prj folder) , I mean not giving choice for the user .

    Also  I dont have control on it , Is there any document or guide  about this control properties  , another request is what are the other webcontrols provided by  

   Dnn   and how to find it

 
New Post
10/15/2008 11:44 AM
 

Unfortunately, the URL Control doesn't let you limit the folders that files can be uploaded to or retrieved from.  However, it does respect permissions, so if you have control over the site you're deploying to, you can limit your users to only be able to write to that specific folder.

In terms of what controls are available, I don't know of a definitive list.  ~/controls has address.ascx, dualListControl.ascx, help.ascx, helpButtonControl.ascx, labelControl.ascx, moduleAuditControl.ascx, sectionHeadControl.ascx, skinControl.ascx, skinThumbnailControl.ascx, textEditor.ascx, urlControl.ascx, urlTrackingControl.ascx, and user.ascx.  I've only personally used labelControl, sectionHeadControl, textEditor and urlControl.  In terms of properties, you just have to look to see what's available and what it does, as well as depend on intellisense.

Anyone else know of any documentation on these controls?


Brian Dukes
Engage Software
St. Louis, MO
866-907-4002
DNN partner specializing in custom, enterprise DNN development.
 
New Post
10/23/2008 5:33 AM
 

I wish I have documentation on these controls. For example, I want to know what ShowSecure attribute in urlcontrol is for...

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPIHow to use dnn WebUpload controlHow to use dnn WebUpload control


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