By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,058 Members | 1,213 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,058 IT Pros & Developers. It's quick & easy.

Ajax on Windows Mobile 6

P: n/a
Hi,

I downloaded the sample application that the Microsoft video
ASPNETAJAXForWinMobile described but it doesn't work on my Windows Mobile 6
emulator. After enabling the script error reporting of the mobile IE, it pops
up several JScript error and the ajax behavior is not funtional at all.
Where can I look for any possible issue?

Thanks.

Daniel
Oct 20 '08 #1
Share this Question
Share on Google+
9 Replies


P: n/a
Hi Daniel,

Are you using the following code?
http://download.microsoft.com/downlo...3-92b0-2a7f6c4
b6b60/CS-Devices-AspNetAjaxForWinMobile_cs.zip

I've tested it on my side. It works fine. When you run it in IE can you see
the JS errors?

If it still doesn't work please tell me the error description.

Regards,
Allen Chen
Microsoft Online Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subs...#notifications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://support.microsoft.com/select/...tance&ln=en-us.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
| Thread-Topic: Ajax on Windows Mobile 6
| thread-index: AckyYBZwsVpoizkTQtW8TCySPa0GdA==
| X-WBNR-Posting-Host: 65.55.21.8
| From: =?Utf-8?B?RGFuaWVs?= <da*********@newsgroup.nospam>
| Subject: Ajax on Windows Mobile 6
| Date: Sun, 19 Oct 2008 20:01:03 -0700
| Lines: 11
| Message-ID: <3F**********************************@microsoft.co m>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.3119
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Path: TK2MSFTNGHUB02.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.dotnet.framework.aspnet:78145
| NNTP-Posting-Host: tk2msftibfm01.phx.gbl 10.40.244.149
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Hi,
|
| I downloaded the sample application that the Microsoft video
| ASPNETAJAXForWinMobile described but it doesn't work on my Windows Mobile
6
| emulator. After enabling the script error reporting of the mobile IE, it
pops
| up several JScript error and the ajax behavior is not funtional at all.
| Where can I look for any possible issue?
|
| Thanks.
|
| Daniel
|

Oct 20 '08 #2

P: n/a
Thanks Allen,

It's still not working properly at my side. Most of the time, selecting the
items in the combo box doesn't produce any feedback in the upper lable and
sometimes after clicking the button, it pops up with error
Line 5 Character:9340
Error: '__EVENTTARGET is null or not an object
Source:(null)
Please help investigate. Thanks!
Daniel

Oct 21 '08 #3

P: n/a
Hi Daniel,

Thanks for the information. To investigate this issue, firstly, could you
confirm that you're using the same code as mine?
http://download.microsoft.com/downlo...3-92b0-2a7f6c4
b6b60/CS-Devices-AspNetAjaxForWinMobile_cs.zip

Quote from Daniel ==================================================
Most of the time, selecting the
items in the combo box doesn't produce any feedback in the upper lable
==================================================

Sometimes when the server is busy we need to wait several seconds to see
the update of the page. Could you double check it to make sure there's no
update?

Quote from Daniel ==================================================
sometimes after clicking the button, it pops up with error
Line 5 Character:9340
Error: '__EVENTTARGET is null or not an object
Source:(null)
Please help investigate. Thanks!
Quote ==================================================

Does it happen only when using the emulator? When you use IE to view the
page will you see the same error?

Regards,
Allen Chen
Microsoft Online Support

--------------------
| Thread-Topic: Ajax on Windows Mobile 6
| thread-index: AckzIUmQZvoZ9eZ1SeSCkNwesZ2KFQ==
| From: =?Utf-8?B?RGFuaWVs?= <da*********@newsgroup.nospam>
| References: <3F**********************************@microsoft.co m>
<bL**************@TK2MSFTNGHUB02.phx.gbl>
| Subject: RE: Ajax on Windows Mobile 6
| Date: Mon, 20 Oct 2008 19:04:01 -0700
| Lines: 13
| Message-ID: <AE**********************************@microsoft.co m>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.3119
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Path: TK2MSFTNGHUB02.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.dotnet.framework.aspnet:78215
| NNTP-Posting-Host: tk2msftibfm01.phx.gbl 10.40.244.149
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Thanks Allen,
|
| It's still not working properly at my side. Most of the time, selecting
the
| items in the combo box doesn't produce any feedback in the upper lable
and
| sometimes after clicking the button, it pops up with error
| Line 5 Character:9340
| Error: '__EVENTTARGET is null or not an object
| Source:(null)
| Please help investigate. Thanks!
|
|
| Daniel
|
|

Oct 21 '08 #4

P: n/a
Hi Allen,

Yes, I'm using the exact same bit of code as your url.
Sometime the label does get updated but most of the time, no response for at
least dozens of seconds.
I only have the enulator and the error doesn't happen all the time. Looks
like after I have clicked other controls then come to the button, the error
comes.
In desktop IE, everything works fine.

Many thanks.

Daniel
"Allen Chen [MSFT]" wrote:
Hi Daniel,

Thanks for the information. To investigate this issue, firstly, could you
confirm that you're using the same code as mine?
http://download.microsoft.com/downlo...3-92b0-2a7f6c4
b6b60/CS-Devices-AspNetAjaxForWinMobile_cs.zip

Quote from Daniel ==================================================
Most of the time, selecting the
items in the combo box doesn't produce any feedback in the upper lable
==================================================

Sometimes when the server is busy we need to wait several seconds to see
the update of the page. Could you double check it to make sure there's no
update?

Quote from Daniel ==================================================
sometimes after clicking the button, it pops up with error
Line 5 Character:9340
Error: '__EVENTTARGET is null or not an object
Source:(null)
Please help investigate. Thanks!
Quote ==================================================

Does it happen only when using the emulator? When you use IE to view the
page will you see the same error?

Regards,
Allen Chen
Microsoft Online Support

--------------------
| Thread-Topic: Ajax on Windows Mobile 6
| thread-index: AckzIUmQZvoZ9eZ1SeSCkNwesZ2KFQ==
| From: =?Utf-8?B?RGFuaWVs?= <da*********@newsgroup.nospam>
| References: <3F**********************************@microsoft.co m>
<bL**************@TK2MSFTNGHUB02.phx.gbl>
| Subject: RE: Ajax on Windows Mobile 6
| Date: Mon, 20 Oct 2008 19:04:01 -0700
| Lines: 13
| Message-ID: <AE**********************************@microsoft.co m>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.3119
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Path: TK2MSFTNGHUB02.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.dotnet.framework.aspnet:78215
| NNTP-Posting-Host: tk2msftibfm01.phx.gbl 10.40.244.149
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Thanks Allen,
|
| It's still not working properly at my side. Most of the time, selecting
the
| items in the combo box doesn't produce any feedback in the upper lable
and
| sometimes after clicking the button, it pops up with error
| Line 5 Character:9340
| Error: '__EVENTTARGET is null or not an object
| Source:(null)
| Please help investigate. Thanks!
|
|
| Daniel
|
|

Oct 21 '08 #5

P: n/a
Hi Daniel,

Thanks for the clarification. However, I spent couple of hours trying to
repro it on my side but could not see the behavior as you described. My
environment is:

" Windows XP SP2 (one machine as the server and running the Windows Mobile
Emulator)
" IIS 5.1
" ASP.NET 2.0.50727
" Tested on both Windows Mobile 6 Standard Emulator and Windows Mobile 6
Professional Emulator

Could you provide your environment so that I can try to set up the same one
to repro?

Regards,
Allen Chen
Microsoft Online Support

--------------------
| Thread-Topic: Ajax on Windows Mobile 6
| thread-index: AckzNGyF2cCwNTvrQW6WCCBunSnvDA==
| X-WBNR-Posting-Host: 65.55.21.8
| From: =?Utf-8?B?RGFuaWVs?= <da*********@newsgroup.nospam>
| References: <3F**********************************@microsoft.co m>
<bL**************@TK2MSFTNGHUB02.phx.gbl>
<AE**********************************@microsoft.co m>
<iy**************@TK2MSFTNGHUB02.phx.gbl>
| Subject: RE: Ajax on Windows Mobile 6
| Date: Mon, 20 Oct 2008 21:21:00 -0700
| Lines: 92
| Message-ID: <3A**********************************@microsoft.co m>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.3119
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Path: TK2MSFTNGHUB02.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.dotnet.framework.aspnet:78227
| NNTP-Posting-Host: tk2msftibfm01.phx.gbl 10.40.244.149
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Hi Allen,
|
| Yes, I'm using the exact same bit of code as your url.
| Sometime the label does get updated but most of the time, no response for
at
| least dozens of seconds.
| I only have the enulator and the error doesn't happen all the time. Looks
| like after I have clicked other controls then come to the button, the
error
| comes.
| In desktop IE, everything works fine.
|
| Many thanks.
|
| Daniel
|
|
| "Allen Chen [MSFT]" wrote:
|
| Hi Daniel,
| >
| Thanks for the information. To investigate this issue, firstly, could
you
| confirm that you're using the same code as mine?
| >
http://download.microsoft.com/downlo...3-92b0-2a7f6c4
| b6b60/CS-Devices-AspNetAjaxForWinMobile_cs.zip
| >
| Quote from Daniel ==================================================
| Most of the time, selecting the
| items in the combo box doesn't produce any feedback in the upper lable
| ==================================================
| >
| Sometimes when the server is busy we need to wait several seconds to
see
| the update of the page. Could you double check it to make sure there's
no
| update?
| >
| Quote from Daniel ==================================================
| sometimes after clicking the button, it pops up with error
| Line 5 Character:9340
| Error: '__EVENTTARGET is null or not an object
| Source:(null)
| Please help investigate. Thanks!
| Quote ==================================================
| >
| Does it happen only when using the emulator? When you use IE to view
the
| page will you see the same error?
| >
| Regards,
| Allen Chen
| Microsoft Online Support
| >
| --------------------
| | Thread-Topic: Ajax on Windows Mobile 6
| | thread-index: AckzIUmQZvoZ9eZ1SeSCkNwesZ2KFQ==
| | From: =?Utf-8?B?RGFuaWVs?= <da*********@newsgroup.nospam>
| | References: <3F**********************************@microsoft.co m>
| <bL**************@TK2MSFTNGHUB02.phx.gbl>
| | Subject: RE: Ajax on Windows Mobile 6
| | Date: Mon, 20 Oct 2008 19:04:01 -0700
| | Lines: 13
| | Message-ID: <AE**********************************@microsoft.co m>
| | MIME-Version: 1.0
| | Content-Type: text/plain;
| | charset="Utf-8"
| | Content-Transfer-Encoding: 7bit
| | X-Newsreader: Microsoft CDO for Windows 2000
| | Content-Class: urn:content-classes:message
| | Importance: normal
| | Priority: normal
| | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.3119
| | Newsgroups: microsoft.public.dotnet.framework.aspnet
| | Path: TK2MSFTNGHUB02.phx.gbl
| | Xref: TK2MSFTNGHUB02.phx.gbl
| microsoft.public.dotnet.framework.aspnet:78215
| | NNTP-Posting-Host: tk2msftibfm01.phx.gbl 10.40.244.149
| | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| |
| | Thanks Allen,
| |
| | It's still not working properly at my side. Most of the time,
selecting
| the
| | items in the combo box doesn't produce any feedback in the upper
lable
| and
| | sometimes after clicking the button, it pops up with error
| | Line 5 Character:9340
| | Error: '__EVENTTARGET is null or not an object
| | Source:(null)
| | Please help investigate. Thanks!
| |
| |
| | Daniel
| |
| |
| >
| >
|

Oct 21 '08 #6

P: n/a
Hi Allen,

I'm working on the same environment as yours except I'm SP3. After attaching
Visual Studio to the ASPNET working process, I found that sometimes the
client click will not trigger the server code. It looks like the client
postback doesn't occur or doesn't make to the server side.

Thanks.

Daniel
Oct 21 '08 #7

P: n/a
Hi Daniel,

I still cannot reproduce this problem on my side. I would suggest you
contact CSS for incident based support:

http://support.microsoft.com/select/...tance&ln=en-us

Our dedicated support engineer will work with you to investigate this issue.

Regards,
Allen Chen
Microsoft Online Support

--------------------
| Thread-Topic: Ajax on Windows Mobile 6
| thread-index: AckzWgDjerFhCq9MQFSKKqiz4EFNbg==
| X-WBNR-Posting-Host: 65.55.21.8
| From: =?Utf-8?B?RGFuaWVs?= <da*********@newsgroup.nospam>
| References: <3F**********************************@microsoft.co m>
<bL**************@TK2MSFTNGHUB02.phx.gbl>
<AE**********************************@microsoft.co m>
<iy**************@TK2MSFTNGHUB02.phx.gbl>
<3A**********************************@microsoft.co m>
<J4**************@TK2MSFTNGHUB02.phx.gbl>
| Subject: RE: Ajax on Windows Mobile 6
| Date: Tue, 21 Oct 2008 01:50:01 -0700
| Lines: 10
| Message-ID: <D3**********************************@microsoft.co m>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.3119
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Path: TK2MSFTNGHUB02.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.dotnet.framework.aspnet:78249
| NNTP-Posting-Host: tk2msftibfm01.phx.gbl 10.40.244.149
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Hi Allen,
|
| I'm working on the same environment as yours except I'm SP3. After
attaching
| Visual Studio to the ASPNET working process, I found that sometimes the
| client click will not trigger the server code. It looks like the client
| postback doesn't occur or doesn't make to the server side.
|
| Thanks.
|
| Daniel
|

Oct 22 '08 #8

P: n/a
Thanks Allen.
Oct 22 '08 #9

P: n/a
Hello,

I get the same error message

"Line 5 Character:9340
Error: '__EVENTTARGET is null or not an object
Source:(null)"

with

Microsoft Device Emulator, Windows Mobile 6.1.

Server: .NET Framework 3.5 SP1

I hadn't this error with .NET Framework 2.0. Therefore I conclude that
ASP.NET AJAX has changed from version 2.0 to 3.5 SP1 and now this error
occurs with IEMobile.

I seems that sometimes no Ajax calls are send to the server on button clicks
or dropdown onchange events respective that the callback is not computed and
the partial page rendering is not performed.

"Daniel" wrote:
Thanks Allen,

It's still not working properly at my side. Most of the time, selecting the
items in the combo box doesn't produce any feedback in the upper lable and
sometimes after clicking the button, it pops up with error
Line 5 Character:9340
Error: '__EVENTTARGET is null or not an object
Source:(null)
Please help investigate. Thanks!
Daniel
Nov 12 '08 #10

This discussion thread is closed

Replies have been disabled for this discussion.