Calendar bug

S

Sharon_a

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.
 
W

Walter Wang [MSFT]

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.
 
S

Sharon_a

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
 
W

Walter Wang [MSFT]

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.
 
W

Walter Wang [MSFT]

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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,185
Latest member
GluceaReviews

Latest Threads

Top