Login  
Search All Forums
Dart Home | PowerWEB File Upload for ASP.NET | Custom Development Reply | PowerWEB File Upload for ASP.NET Topics | Forums   
AuthorForum: PowerWEB File Upload for ASP.NET
Topic: ButtonImageUrl with ~
gennaro

From: Ercolano, Italy
Posts: 6
Member Since: 04/09/10
posted April 27, 2010 7:16 AM

Hello this is my first post.. sorry for my poor english :)

I use the purchased version 1.3.0.0, i use this code:

<cc3:Upload ID="upload_image" runat="server" ButtonType="ImageButton" ButtonImageUrl="~/dir/img.jpg" ShowTextBox="false" FilterDescription="Immagini (*.jpg, *.gif, *.png)" FilterExtension="*.jpg;*.jpeg;*.gif;*.png">
<ButtonStyle Width="120px" Height="25px" />
</cc3:Upload>

on development machine (with application in site subdirectory) it's all ok, on production server (with asp.net application in site root) the image not show. With firebug i see the get and in the second case (application path is the root) i read: "text=Browse...&tooltip=&buttonimageurl=//kadmin/theme/img/general/browse.jpg&buttonstyle"

The problem, i think, is the double //

With absolute path it's ok but i must change from local to produce server.. Is there a solution for use with ~ ?
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted April 28, 2010 8:57 AM

Hi,
You are the second to report problems with the product while using a tilda in the path.

We will investigate this (issue #5269), but for now, I recommend specifying the path without the tilda.

-ken

------
-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.
------

gennaro

From: Ercolano, Italy
Posts: 6
Member Since: 04/09/10
posted May 5, 2010 7:12 AM

Thankyou for answer.

I resolve setting the buttonimageurl in PageLoad with ResolveUrl function
Reply | PowerWEB File Upload for ASP.NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX