Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Mobile / April 2006

Tip: Looking for answers? Try searching our database.

mobile command with image (bug???)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kapilp - 28 Mar 2006 01:36 GMT
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
kapilp - 29 Mar 2006 00:56 GMT
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.
Aytaç ÖZAY - 09 Apr 2006 18:57 GMT
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

>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
[quoted text clipped - 28 lines]
>
> Does anyone have any ideas? I'm mmmeeellltttiiinnnggg.
kapilp - 10 Apr 2006 03:26 GMT
Thanks for the reply Aytac. I have spoken to MS support. There is a bug in
the WML Adapter set regarding this.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.