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...Getting StartedGetting StartedURLControl customization URLControl customization
Previous
 
Next
New Post
5/27/2011 7:44 AM
 
Hello,
I am trying to develop a very simple module, I need to use ~/controls/URLControl.ascx  to let my user upload a file. there are 2 problems I faced now, first of all I can not get rid of "File Location" field  at best I need to set the  address in a property or programmatically   (I need a simple upload only. 

Second I need to let unregistered users also upload, but I can not see the control when I am loged off.   

here is what I wrote :
<%@ Register TagPrefix="dnn" TagName="URL" Src="~/controls/URLControl.ascx" %>
...
<dnn:URL ID="MyUrlControl" runat="server" FileFilter=".doc,.pdf,.docx" 
       ShowUpLoad=true  ShowNone=false ShowTabs=false ShowUrls=false ShowDatabase=false   ShowFiles="true"  ShowTrack="false" ShowLog="false" />

thank you very much 
 
New Post
5/27/2011 12:32 PM
 
If you ar looking for a simple "file upload only", where you just have the browse button you will need to roll that on your own following regular practices.

I should also caution on the allowing of unregistered users to upload,you will want to be sure that you have security behind that.

-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
6/1/2011 11:28 AM
 
Thank you Mitchel 
for the security I used captcha  :)
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Getting StartedGetting StartedURLControl customization URLControl customization


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