Re: Windows ce; ASP; Server-side JavaScript

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



WinCE does not support the runat="server" construct. Instead you have to
put jscript blocks to run at server inside <% ... %>. Please checkout MSDN
docs on ASP where this & other limitations of CE ASP versus desktop IIS are
doc'd.

--
John Spaith
Development Lead, Windows CE
Microsoft Corporation

Check out the CE Networking Team Blog at http://blogs.msdn.com/cenet/.

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2006 Microsoft Corporation. All rights
reserved.

"m Bowling" <mBowling@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E572FEFB-A800-41D6-9133-DAFD819FC0FD@xxxxxxxxxxxxxxxx
If Javascript is supported on the server-side can you please tell me why
this
code shows itself when I "view source"?

<SCRIPT RUNAT="SERVER" LANGUAGE="JavaScript">
<!-- //

var i = 1;
var j = 2;

if (i==1)
{
j=0;
}
else
{
j=1;
}
//-->
</script>

Thank you, Michael.

"John Spaith [MS]" wrote:

Yes, CE can support either jscript or VBScript. (OK I guess javascript
!=
jscript technically, CE does jscript.) Note you'll need to include both
ASP
and Jscript in your image if you're general embedded or working with a GE
OEM.

--
John Spaith
Development Lead, Windows CE
Microsoft Corporation

Check out the CE Networking Team Blog at http://blogs.msdn.com/cenet/.

This posting is provided "AS IS" with no warranties, and confers no
rights.
You assume all risk for your use. © 2006 Microsoft Corporation. All
rights
reserved.

"m Bowling" <mBowling@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:6ABBE063-E9C1-48CA-970C-D20CB4A17122@xxxxxxxxxxxxxxxx
does windows ce support server-side javascript





.



Relevant Pages

  • Re: COM and ASP
    ... if you had a debug jscript and debug ASP DLLs on your ... Microsoft Corporation ... This posting is provided "AS IS" with no warranties, and confers no rights. ... dim strPersonalName ...
    (microsoft.public.windowsce.embedded)
  • Re: No JavaScript windows appear from Gateway config page in IE6
    ... One more thing - it may turn out hacking up JScript isn't viable because ... This posting is provided "AS IS" with no warranties, and confers no rights. ... © 2003 Microsoft Corporation. ... > The fix is either to hack up the JScript so it doesn't try to use the RAS ...
    (microsoft.public.windowsce.embedded)
  • Re: ASP Request.Form iterating in CE
    ... to limit the maximum number of FORM entries that you'll accept? ... HTML form then your ASP could just be hard-coded to deal with those ... Microsoft Corporation ... This posting is provided "AS IS" with no warranties, and confers no rights. ...
    (microsoft.public.windowsce.app.development)
  • Re: Handle leak with asp
    ... This is the 1st I've heard of any winsock.dll resource leak problems via ... Microsoft Corporation ... This posting is provided "AS IS" with no warranties, and confers no rights. ... > and Global Count for winsock.dll when using ASP. ...
    (microsoft.public.windowsce.embedded)
  • Re: Windows ce; ASP; Server-side JavaScript
    ... CE can support either jscript or VBScript. ... Note you'll need to include both ASP ... Microsoft Corporation ... This posting is provided "AS IS" with no warranties, and confers no rights. ...
    (microsoft.public.windowsce.app.development)