Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Mobile > mobile command with image (bug???)

Reply
Thread Tools

mobile command with image (bug???)

 
 
kapilp
Guest
Posts: n/a
 
      03-28-2006
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
 
Reply With Quote
 
 
 
 
kapilp
Guest
Posts: n/a
 
      03-28-2006
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&A spxAutoDetectCookieSupport=1" method="post">
<postfield name="__VIEWSTATE"
value="/wEXAQUDX19QDwUIZnJtTG9naW5kuxODygIHWlrY59nhTqGysdl uZR0="/><postfield
name="__EVENTTARGET" value="cmdLogin"/><postfield name="txtScreenName"
value="$$(txtScreenName:noesc)">
</postfield>
<postfield name="txtPassword" value="$$(mcsvhhvpp0:noesc)">
</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.
 
Reply With Quote
 
 
 
 
Aytaç ÖZAY
Guest
Posts: n/a
 
      04-09-2006
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

"kapilp" <> wrote in message
news:FB716FE1-2475-4AEB-8642-...
>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&A spxAutoDetectCookieSupport=1"
> method="post">
> <postfield name="__VIEWSTATE"
> value="/wEXAQUDX19QDwUIZnJtTG9naW5kuxODygIHWlrY59nhTqGysdl uZR0="/><postfield
> name="__EVENTTARGET" value="cmdLogin"/><postfield name="txtScreenName"
> value="$$(txtScreenName:noesc)">
> </postfield>
> <postfield name="txtPassword" value="$$(mcsvhhvpp0:noesc)">
> </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.



 
Reply With Quote
 
kapilp
Guest
Posts: n/a
 
      04-10-2006
Thanks for the reply Aytac. I have spoken to MS support. There is a bug in
the WML Adapter set regarding this.
 
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
iPhone4,iPhone3,Ipad,Apple Mobile,Blackberry Mobile,HTC Mobile,LGMobile,Motorola Mobile,Nokia Mobile,Samsung Mobile chen selina C++ 0 07-13-2010 08:53 AM
cheap LG Mobile Motorola Mobile Nokia Mobile Philips MobileSony-ericsson Mobile yuwenwu004@gmail.com C++ 0 12-09-2007 09:02 PM
cheap LG Mobile Motorola Mobile Nokia Mobile Philips MobileSony-ericsson Mobile yuwenwu004@gmail.com C Programming 0 12-09-2007 09:02 PM
cheap LG Mobile Motorola Mobile Nokia Mobile Philips MobileSony-ericsson Mobile yuwenwu004@gmail.com Java 0 12-09-2007 09:02 PM
cheap LG Mobile Motorola Mobile Nokia Mobile Philips MobileSony-ericsson Mobile yuwenwu004@gmail.com C Programming 0 12-09-2007 09:02 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57