mobile command with image (bug???)

K

kapilp

hello,

i have 2 issues when using the mobile command object with its ImageURL
property set.

1- when the property is set the image never shows up, only the text on open
ware simulator and on every cell phone i have tried. I know that the image is
valid because if i use the same image with the mobile image control or the
mobile link control it works fine.

2- when i use the command object with the ImageURL property set its Click
event never hits. as soon as i remove the imageURL then the event hits.

Seems like the 2 issues could be realated. has anyone encountered this???

Thanks
kapilp
 
K

kapilp

I am experiencing this issue on Openwave version 7 emulator and I am
experiencing only the 2nd problem in internet explorer. I am using visual
studio 2005 with asp.net 2.0.

I think I know why its not rendering the image. If I look at the source of
the wml its:

<p:do type="accept" label="Login">
<p:go
href="/PhoneFling/(X(1)S(omj1wxaljgcsh045ziekrs45))/Default.aspx?ReturnUrl=%2fPhoneFling%2fHome.aspx&AspxAutoDetectCookieSupport=1" method="post">
<p:postfield name="__VIEWSTATE"
value="/wEXAQUDX19QDwUIZnJtTG9naW5kuxODygIHWlrY59nhTqGysdluZR0="/><p:postfield
name="__EVENTTARGET" value="cmdLogin"/><p:postfield name="txtScreenName"
value="$$(txtScreenName:noesc)">
</p:postfield>
<p:postfield name="txtPassword" value="$$(mcsvhhvpp0:noesc)">
</p:postfield>
</p:go>
</p:do>

There is no mention of any image here, even though the imageURL of the
command is set. There should be a mention of the image around the <do> tag i
think. Is .net not rendering it?? Is this a bug???

I tried to trick it by calling the __doPostBack() function from an mobile
image object, which works in a browser but since there is not javascript in
wml it wont work on mobile phones.

Does anyone have any ideas? I'm mmmeeellltttiiinnnggg.
 
A

Aytaç ÖZAY

Hi,

Can you set your image into your Mobil Web Site, because your command must
contain a web url adress. I think you make a mistake about setting the
imageurl of your command.

Note : I tried this situation and there was no error, I get.

Have a nice work,

Aytaç ÖZAY
Software Developer
 
K

kapilp

Thanks for the reply Aytac. I have spoken to MS support. There is a bug in
the WML Adapter set regarding this.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top