Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Ads  
Biz Modules provides professional business modules and solutions for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Repository Modu...  [URLCONTROLFILE] and [URLCONTROLIMAGE]
Previous Previous
 
Next Next
New Post 11/30/2007 4:08 PM
Resolved
User is offline Declic Video
903 posts
declic-video-fx.com
7th Ranked


[URLCONTROLFILE] and [URLCONTROLIMAGE] 

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 7:29 PM
User is offline Steve Fabian
1498 posts
6th Ranked








Re: [URLCONTROLFILE] and [URLCONTROLIMAGE] 

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.


Steve Fabian
Gooddogs.com
Sit, Stay, Code ... Good boy!
 
New Post 12/1/2007 2:51 AM
User is offline Declic Video
903 posts
declic-video-fx.com
7th Ranked


Re: [URLCONTROLFILE] and [URLCONTROLIMAGE] 

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 4:57 AM
User is offline Declic Video
903 posts
declic-video-fx.com
7th Ranked


Re: [URLCONTROLFILE] and [URLCONTROLIMAGE] 

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 12:05 PM
User is offline Declic Video
903 posts
declic-video-fx.com
7th Ranked


Re: [URLCONTROLFILE] and [URLCONTROLIMAGE] 

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 Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Repository Modu...  [URLCONTROLFILE] and [URLCONTROLIMAGE]
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DotNetNuke Hosting Provider UK
UK leading DotNetNuke Hosting provider. Owned and operated by a Microsoft Gold Certified Partner.
www.DNN-Portals.co.uk
Alliance Systems & Programming Inc
Alliance is not just our name... it's how we do business. We partner with our clients, learning their business processes and standards and then applying our expertise to help them improve their workflow and profitability.
www.Alliancesys.com
Customer Connect
Customer Connect provides cutting edge solutions that deliver sales, marketing and customer service results.
www.customer-connect.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP