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...Module ForumsModule ForumsRepositoryRepository[URLCONTROLFILE] and [URLCONTROLIMAGE][URLCONTROLFILE] and [URLCONTROLIMAGE]
Previous
 
Next
New Post
11/30/2007 7:08 PM
 

I have tried the new feature, by including into my template:

 

[DNNLABEL:Image] [IMAGE]
[DNNLABEL:Image] [URLCONTROLIMAGE]

To have either possibility to upload an image, or possibility to choose an image on the server.
When modifying the Form.html as shown above, I have the following error:

Multiple controls with the same ID '__DNNLabelImage' were found. FindControl requires that controls have unique IDs.

What should I do ???

DV

 
New Post
11/30/2007 10:29 PM
 

well, the error message is telling you exactly what you should do.. you can't have 2 labels with the exact same name. However, you do NOT need both, in fact having both an [IMAGE] AND a [URLCONTROLIMAGE] will NOT work. If you read the release notes the [URLCONTROLFILE] and [URLCONTROLIMAGE] are to be use INSTEAD of the [FILE] and [IMAGE] tags.

the [URLCONTROLFILE] and [URLCONTROLIMAGE] tage will allow your users the possibility of uploading a brand new file/image OR choosing a file/image on the server.

So to solve your problem, delete the [IMAGE] tags and it's associated label.

 
New Post
12/1/2007 5:51 AM
 

Sometimes, I am a real newby and silly guy... So sorry to loose your time with this...
(The error message was clear, so I change the name of the labels, but then I had another weird message...)

SOLVED !

DV

 
New Post
12/1/2007 7:57 AM
 

Tell me if I am wrong, but I just have the choice to:

- select an existing image
- or uploading it (BUT I HAVE TO CHOOSE THE FOLDER)

With the "old" solution, it was possible to upload without taking care of the folder... It will loose our customer...
Any solution to keep both ???

DV

 
New Post
12/1/2007 3:05 PM
 

Just one thing to enhance.
If you edit an "old item" (one with the old system of file upload), the path for the image is not shown ... Consequently, if you edit it and you submit it, you loose the image (image not shown, no image). --> Each time you edit an old item, it is necessary to find the image you put in the past...
Not so nice, it would be great that the system point to the image directly.

 

Can you check this ?

DV

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepository[URLCONTROLFILE] and [URLCONTROLIMAGE][URLCONTROLFILE] and [URLCONTROLIMAGE]


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