Setfocus in mobile controls

G

Guest

Guest
Archived from groups: microsoft.public.pocketpc (More info?)

hi there,

I'm facing a problem in setting focus for controls like
textbox in mobile web page. java script works in asp page
for setfocus but not in mobile web page.

is there any solution for this!. Can anyone help me?
(apart from using terminal services)

Thanks
murthy
 
G

Guest

Guest
Archived from groups: microsoft.public.pocketpc (More info?)

Hi,
Microsoft is not using the same version of the Jscript functionality on the
Pocket PC as on the PC. If I recall right the Windows Mobile 2003 uses
version 1.7. As part of that they only implemented a subset that makes
sense on the device. As an example there is no support for multiple windows
of IE opened like on the desktop.

Futher there is no option to upgrade the version of Jscript that is
implemented on the Pocket PC in Pocket Internet Explorer. So unfortunately
you'll have to develop a workaround for the issue.


--
Chris De Herrera
http://www.cewindows.net
http://www.tabletpctalk.com
http://www.pocketpctalk.com

"murthy" <anonymous@discussions.microsoft.com> wrote in message
news:25f301c47d85$e60d2500$a601280a@phx.gbl...
> hi there,
>
> I'm facing a problem in setting focus for controls like
> textbox in mobile web page. java script works in asp page
> for setfocus but not in mobile web page.
>
> is there any solution for this!. Can anyone help me?
> (apart from using terminal services)
>
> Thanks
> murthy
 
G

Guest

Guest
Archived from groups: microsoft.public.pocketpc (More info?)

What syntax are you using (can you post some code ?) there is no
'setfocus()' method for any version of javascript. Not wanting to be
pedantic, but it's impossible to know what you're doing from a vague
'freetext' description.

Which version of Pocket PC are you testing on ? They (WM2003 vs
WM2002) support different versions of javascript and different object
models.

Check out this page for 'howtos' on Pocket IE web development :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppc2k/html/ppc_dev.asp

Pocket IE on WM2002 supports most of javascript1.2, using the MS
jscript3.0 (*not* version 7) engine. This is approximately IE4. PIE on
WM2003 has improved support for XML/XSLT handling, and 1/2 baked CSS
support (this is microsoft browser we're talking about, so no change
there !)

There's a comparison matrix here which lists the available
functionality for PIE on WM2002 :

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/jscript7/html/jsoriversioninformation.asp

That should get you running.
Cheers - Neil

On Sun, 8 Aug 2004 13:25:51 -0700, "murthy"
<anonymous@discussions.microsoft.com> wrote:

>hi there,
>
>I'm facing a problem in setting focus for controls like
>textbox in mobile web page. java script works in asp page
>for setfocus but not in mobile web page.
>
>is there any solution for this!. Can anyone help me?
>(apart from using terminal services)
>
>Thanks
>murthy