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

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Choose button not available in select file of upload controlChoose button not available in select file of upload control
Previous
 
Next
New Post
2/26/2013 4:39 AM
 

I have created a module to upload a file control on server. 

On power dnn server when we put that control on page which do not have edit permission so that choose file button is not visible to users. while we put same control on page which has edit permission so that choose button is visible to that user.  But we do not want to give edit permission to any user. Please tell me what could be the solution for this problem.

Thanks

Shailendra

 
New Post
2/26/2013 10:48 AM
 

I'm not sure I completely understand your question . . .

Is your custom module using the DnnFilePickerUploader server control (DotNetNuke.Web.UI.WebControls.DnnFilePickerUploader) or your own implementation using an input html tag of type="file" and possibly the jQueryUI fileuploader wiget plugin?

If using the fileuploader wiget plugin, I suspect that you are not first calling the following methods in the module's Page_Load:

jQuery.RegisterFileUpload(Page);
jQuery.RegisterDnnJQueryPlugins(Page);

These are needed so that the proper jQuery plugins javascript files will be loaded. Since the ribbon control bar at the top of the page includes a file upload control which would already lrequest the above scripts may explain why the Choose File button is visible when the logged in user has page edit permissions and not visible when the user does not. 


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
2/27/2013 4:46 AM
 
i am using ASP file upload control. i got the solution for that it was permission problem on control.
i gave only view permission to page and edit permission to control my problem has been solved by this.
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Choose button not available in select file of upload controlChoose button not available in select file of upload 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