mobile command with image (bug???)

Discussion in 'ASP .Net Mobile' started by kapilp, Mar 28, 2006.

  1. kapilp

    kapilp Guest

    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, Mar 28, 2006
    #1
    1. Advertising

  2. kapilp

    kapilp Guest

    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.
     
    kapilp, Mar 29, 2006
    #2
    1. Advertising

  3. kapilp

    Aytaç ÖZAY Guest

    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:...
    >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, Apr 9, 2006
    #3
  4. kapilp

    kapilp Guest

    Thanks for the reply Aytac. I have spoken to MS support. There is a bug in
    the WML Adapter set regarding this.
     
    kapilp, Apr 10, 2006
    #4
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Zahoor
    Replies:
    1
    Views:
    814
    Darryl L. Pierce
    Nov 15, 2003
  2. =?Utf-8?B?QWxleCBNYWdoZW4=?=

    Non "mobile" controls on Mobile ASPX

    =?Utf-8?B?QWxleCBNYWdoZW4=?=, Aug 17, 2007, in forum: ASP .Net
    Replies:
    3
    Views:
    665
    Steven Cheng[MSFT]
    Aug 20, 2007
  3. iwasjoeking
    Replies:
    9
    Views:
    626
    dorayme
    Jun 10, 2008
  4. chen selina
    Replies:
    0
    Views:
    1,327
    chen selina
    Jul 13, 2010
  5. Waverider
    Replies:
    1
    Views:
    200
    JuanDG
    Sep 21, 2004
Loading...

Share This Page