Issur Of WebDialogBoxButton's Image

3 replies. Last post: May 15, 2011 11:24 PM by Martin Lie
Tags :
  • (None)
xu guochunMember

Hi,

     I think there is a issue. WebDialogBoxButton's Image proterty can't support "~".

   

<ISWebDesktop:WebDialogBoxButton Name="btnOK" Text="确定" Type="OK"  DisplayMode="TextAndImage" Image="~/Images/InterSoft/OK.png" />

All Replies

Martin LieSupport

Hello,

You should use "./Images/Intersoft/OK.png" instead of "~".

If you use "~", the path would be "http://localhost:xxxx/WebDesktop/~/Images/Intersoft/OK.png" and it will not render the image correctly.

Hope this helps. Thank you.

 

Regards,
-Martin-

Hi,

    I don't think you understand what I mean. I mean, Image property can't  support  "~" to specify the root directory of my application. But WebDialogBox's ControlBoxImage property, it can.

 

Thanks!

Martin LieSupport

Hello,

I've tried to use "~" in both ControlBoxImage and WebDialogBoxButton image property and it seems that it is a bug from the control itself.

However, I need to confirm this issue with the developer team. I have reported this issue to them to be investigated further.

I'll let you know when I get the update from the team.

Thank you.

 

Regards,
-Martin-

All times are GMT -5. The time now is 1:38 AM.
Previous Next