Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Mobile > mobile:Command & ImageUrl

Reply
Thread Tools

mobile:Command & ImageUrl

 
 
Bod Willis
Guest
Posts: n/a
 
      02-11-2007

I am desperately trying to implement, primarily for WML rendering,
selectable images.

This should be possible with the Command ImageUrl attribute but this only
seems to render the image in html.

Any help greatly appreciated.

<mobile:Command
ID="Command4"
Runat="server"
ImageUrl="~/images/MD3/hello.gif">
</mobile:Command>


I have tried may different paths to the image including placing it in the
same dir as the page :

"~/images/MD3/hello.gif"
"/images/MD3/hello.gif"
"images/MD3/hello.gif"
"hello.gif"


This is the corresponding wml that is being generated :

<anchor title="Go"><go href="#__pbc2"><setvar name="mcsvt"
value="Command4"/><setvar name="mcsva" value=""/></go></anchor>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What does ~ stand for in ImageUrl? Edward Yang ASP .Net 2 07-22-2004 01:18 PM
Geeting ImageUrl when changed by javascript Joe ASP .Net 3 03-04-2004 08:55 PM
ImageURL not accepting/working relative paths??? Kathy Burke ASP .Net 0 11-14-2003 03:22 PM
Hyperlink with ImageUrl: problem with width and height Christian Pické ASP .Net 0 11-06-2003 01:08 PM
Hyperlink w/ImageUrl bug? Leigh Kendall ASP .Net 8 08-19-2003 01:47 PM



Advertisments