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...Building ExtensionsBuilding ExtensionsModulesModulesiframe solution or how to upload file inside custome module  iframe solution or how to upload file inside custome module
Previous
 
Next
New Post
12/16/2013 10:30 AM
 

hello every one ,

I'm creating custom module and I wanna to add iframe inside it like that: 

  <iframe id="ifrPhoto" onload="initPhotoUpload()" scrolling="no" frameborder="0" hidefocus="true" style="text-align:center;vertical-align:middle;border-style:none;margin:0px;width:100%;height:55px" src="FileUpload.aspx"></iframe>

this issue or how can I made an uplaod file inside custom module  i wanna to make the user to upload his cv in my custom module.

 

Best Regards

Adam

 
New Post
12/16/2013 10:45 AM
 

Hello,

There's definitely no reason you need an iFrame for this. A custom module, in its simplest form, is basically just a normal .ascx user control - so you can do anything you could do with a normal user control. Just put a .net file upload control in your user control and you'll have it... 

If you want to go a step further, there's a DNN control that does file uploads as well. They seem to be in the process of updating it, but I haven't had much luck with getting the new ones to work. The old one is the URL control, and you just set it to only allow files. You can read more about it here:  http://www.dnnsoftware.com/wiki/page/...

Mike

 
New Post
12/16/2013 2:09 PM
 
thanks but normal asp uploader is make postback ... is there something can make it AJAX like updatepanel
 
New Post
12/16/2013 3:25 PM
 

Sure... that's what I was saying really - whatever code you have in your outside aspx file, you can have in your DNN module. So, there's no need for the outside thing. If you need an update panel, just wrap your code in an update panel - the DNN pages already have a script manager on them, so you should be fine. 

Mike

 
New Post
12/16/2013 8:56 PM
 

Have a look at the telerik async loader - there is a dnn wrapper control that is basically a function for function extension of this control - its an ajax based uploader control.

Alternatively - have a look at the dnn filepickerupload - there is a discussion on it in this thread  http://www.dnnsoftware.com/answers/ci....

Westa

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesiframe solution or how to upload file inside custome module  iframe solution or how to upload file inside custome 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