K
kapilp
hello,
i have 2 issues when using the mobile command object with its ImageURL
property set.
- i am using vs.net 2005.
- i am testing on a Openwave version 7 enulator
1- When the ImageURL property of the control is set the image never shows up
on the openwave enulator or any cell phone i try. I have tried several. Only
the text shows. I know that the image is valid because if i use the same
image with the mobile image control or the mobile link control, the image
shows up perfectly on phones and the openwave browser. The image only renders
correctly on an PC based internet browser.
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. If i
just hit F5 this behavior happens, but if I copy the project to run under my
local IIS instance then this problem does not occur.
I looked at the wml that renders in the emulator and its this:
<p:do type="accept" label="Login">
<p:go
href="/PhoneFling/(X(1)S(pp4c3n3t0jt4ke20g0msfgyf))/Default.aspx?ReturnUrl=%2fPhoneFling%2fHome.aspx&AspxAutoDetectCookieSupport=1" method="post">
<postfield name="__VIEWSTATE"
value="/wEXAQUDX19QDwUIZnJtTG9naW5kuxODygIHWlrY59nhTqGysdluZR0="/><postfield
name="__EVENTTARGET" value="cmdLogin"/><postfield name="txtScreenName"
value="$$(txtScreenName:noesc)">
</postfield>
<postfield name="txtPassword" value="$$(mcsvkfega0:noesc)">
</postfield>
</p:go>
</p:do>
As you can see there is no mention of an image anyware. From my
understanding there should be an <img> tag by the <do> tag, I think.
Could it be that the command control is not rendering the proper wml for WAP
browsers?
Bascically I need the command to show up as an image on the wml based
browsers and its click event to fire.
Help????
Thank You,
Kapil Pershad
i have 2 issues when using the mobile command object with its ImageURL
property set.
- i am using vs.net 2005.
- i am testing on a Openwave version 7 enulator
1- When the ImageURL property of the control is set the image never shows up
on the openwave enulator or any cell phone i try. I have tried several. Only
the text shows. I know that the image is valid because if i use the same
image with the mobile image control or the mobile link control, the image
shows up perfectly on phones and the openwave browser. The image only renders
correctly on an PC based internet browser.
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. If i
just hit F5 this behavior happens, but if I copy the project to run under my
local IIS instance then this problem does not occur.
I looked at the wml that renders in the emulator and its this:
<p:do type="accept" label="Login">
<p:go
href="/PhoneFling/(X(1)S(pp4c3n3t0jt4ke20g0msfgyf))/Default.aspx?ReturnUrl=%2fPhoneFling%2fHome.aspx&AspxAutoDetectCookieSupport=1" method="post">
<postfield name="__VIEWSTATE"
value="/wEXAQUDX19QDwUIZnJtTG9naW5kuxODygIHWlrY59nhTqGysdluZR0="/><postfield
name="__EVENTTARGET" value="cmdLogin"/><postfield name="txtScreenName"
value="$$(txtScreenName:noesc)">
</postfield>
<postfield name="txtPassword" value="$$(mcsvkfega0:noesc)">
</postfield>
</p:go>
</p:do>
As you can see there is no mention of an image anyware. From my
understanding there should be an <img> tag by the <do> tag, I think.
Could it be that the command control is not rendering the proper wml for WAP
browsers?
Bascically I need the command to show up as an image on the wml based
browsers and its click event to fire.
Help????
Thank You,
Kapil Pershad