Calendar bug

Discussion in 'ASP .Net Mobile' started by Sharon_a, Jun 18, 2006.

  1. Sharon_a

    Sharon_a Guest

    Hello,
    I'm using VS2005 to develope WAP application.
    I have a calendar control and textbox on the same page.
    I enter text to the textbox.
    And then I press the calendar link to change the date.
    When I return to the page the textbox value disappear.
    The ViewState for the controls is true.

    If I put a command on the page and press the command, the value of the text
    box is not disappears.

    Is that a known bug?
    Does anyone have a solution for that?

    Thanks,
    Sharon.
     
    Sharon_a, Jun 18, 2006
    #1
    1. Advertising

  2. Hi Sharon,

    Thank you for your post.

    Based on my understanding, you are using ASP.NET 2.0 Mobile WebForm and
    having issue about losing content of textbox on postback caused by Calendar
    control. But this issue doesn't occur if the postback is caused by a
    CommandButton. If I've misunderstood anything, please feel free to post
    here.

    I've done some test on my box and wasn't able to reproduce the issue here.
    Could you please telling me about this? Having a repro sample code would
    make it more quicker for us to solve this issue. Thank you for your
    understanding and effort.


    Regards,
    Walter Wang
    Microsoft Online Community Support

    ==================================================
    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.
    ==================================================

    This posting is provided "AS IS" with no warranties, and confers no rights.
     
    Walter Wang [MSFT], Jun 19, 2006
    #2
    1. Advertising

  3. Sharon_a

    Sharon_a Guest

    Hi,
    I am using ASP.NET 2.0 with Mobile WebForm.
    I build a new Mobile Web project.
    Add new Mobile Web Form.
    Add TextBox to the form
    Add Calendar to the form
    Add Command to the form.

    I'm running the project and open the WebForm from a Mobile device
    "Nokia S40 emulator".

    I get the three controls on the device.
    I enter text into the TextBox, and then open the calendar link, select a
    date and return to the form.
    The text on the TextBox disappear.
    If I enter text and press the command button, the text stays.

    The problem does not happends if I open the page with a internet explorer on
    my PC.

    Thanks ,
    Sharon

    "Walter Wang [MSFT]" wrote:

    > Hi Sharon,
    >
    > Thank you for your post.
    >
    > Based on my understanding, you are using ASP.NET 2.0 Mobile WebForm and
    > having issue about losing content of textbox on postback caused by Calendar
    > control. But this issue doesn't occur if the postback is caused by a
    > CommandButton. If I've misunderstood anything, please feel free to post
    > here.
    >
    > I've done some test on my box and wasn't able to reproduce the issue here.
    > Could you please telling me about this? Having a repro sample code would
    > make it more quicker for us to solve this issue. Thank you for your
    > understanding and effort.
    >
    >
    > Regards,
    > Walter Wang
    > Microsoft Online Community Support
    >
    > ==================================================
    > When responding to posts, please "Reply to Group" via your newsreader so
    > that others may learn and benefit from your issue.
    > ==================================================
    >
    > This posting is provided "AS IS" with no warranties, and confers no rights.
    >
    >
     
    Sharon_a, Jun 19, 2006
    #3
  4. Hi Sharon,

    Thank you for your update.

    It looks likely an issue of the client browser. I'm currently consulting
    our internal dev team to verify if the device is supported or not. In the
    meanwhile, you might ask in Nokia's forum
    (http://discussion.forum.nokia.com/forum/index.php) to see if anyone can
    help on this.


    Regards,
    Walter Wang
    Microsoft Online Community Support

    ==================================================
    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.
    ==================================================

    This posting is provided "AS IS" with no warranties, and confers no rights.
     
    Walter Wang [MSFT], Jun 20, 2006
    #4
  5. Hi Sharon,

    You can download and use the Device Profiling Tool to profile and create a
    ..browser file for the device. That should at least let ASP.NET use the
    correct capabilities when rendering to the device.

    #ASP.NET Device Profiling Tool
    http://asp.net/sandbox/app_devprof.aspx?tabid=62

    The device profiling tool contains a self-explanatory wizard that walks
    through the steps of running profiling scripts on a mobile device and then
    recording the results in the wizard. Once you have profiled a device, you
    can download a device configuration file that can easily be inserted into
    the Machine.config or Web.config file. For a detailed description of how to
    use this tool, see the Help section.

    Important Note: Profiling a device using this Software does not guarantee
    that the device will support ASP.NET mobile controls.

    Please kindly update me whether or not this solves your problem. Thanks.


    Regards,
    Walter Wang
    Microsoft Online Community Support

    ==================================================
    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.
    ==================================================

    This posting is provided "AS IS" with no warranties, and confers no rights.
     
    Walter Wang [MSFT], Jun 21, 2006
    #5
    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. Shevek
    Replies:
    3
    Views:
    6,098
    Shevek
    Jun 23, 2004
  2. =?Utf-8?B?TWFyaWFubyBQYWRpbGxh?=

    Possible Bug In the Calendar Control on web forms.

    =?Utf-8?B?TWFyaWFubyBQYWRpbGxh?=, Jan 28, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    476
    Otis Mukinfus
    Jan 28, 2006
  3. Replies:
    5
    Views:
    494
    P.Hill
    Mar 7, 2006
  4. Shevek
    Replies:
    0
    Views:
    412
    Shevek
    Jun 23, 2004
  5. Parthiv Joshi
    Replies:
    1
    Views:
    764
    Samuel L Matzen
    Jul 6, 2004
Loading...

Share This Page