[Mono-dev] is jscript.net for asp.net supported?

benzo benzofurans-mono at yahoo.com
Mon Feb 4 17:39:03 EST 2008


On Feb 4, 2008 11:38 PM, benzo <benzofurans-mono at yahoo.com> wrote:
> hi cesar
>
> > access to the class libraries
>
> isn't this already possible (thanks to you)?
> http://primates.ximian.com/~cnataren/blog/archive/2005/Oct-21.html
>
>
>
>
>
> On Feb 4, 2008 8:06 PM, Cesar Octavio Lopez Nataren
>
> <cesar.nataren at gmail.com> wrote:
> > The CodeDom support for JScript should be in place although it hasn't
> > been tested extensively. And it should be enabled somewhere in the
> > ASP.NET classes.
> >
> > The important missing piece is the JScript's compiler support for
> > defining classes, access to the class libraries, and the other MS
> > extensions to the language, without that it's useless. Currently only
> > the ECMAScript subset is supported on the compiler.
> >
> > césar
> >
> >
> > benzo wrote:
> > > hi
> > > this is my first post on this list.  although I'm usually not working
> > > with ms technologies I'm following mono since it's beginnings and I
> > > think it's a great project and I have big respect what you guys has
> > > accomplished so far.
> > >
> > > According to the jscript site on mono
> > > (http://www.mono-project.com/JScript) this is the mailing list where
> > > you ask questions about the mono implementation of jscript - I hope
> > > this is still the case...
> > >
> > > Ok, I try to run jscript in a aspx site*, but it throws an error**.
> > >
> > > Is there a way to enable jscript, or am I doing someting wrong here?
> > >
> > > thanks for your help.
> > > benzo
> > >
> > > ** error ----------------------------------------------------------------
> > > Server Error in '/' Application
> > > Configuration error. Language not supported: JScript
> > >
> > > Description: Error processing request.
> > >
> > > Error Message: HTTP 500. System.Web.HttpException: Configuration
> > > error. Language not supported: JScript
> > >
> > > Stack Trace:
> > >
> > > System.Web.HttpException: Configuration error. Language not supported: JScript
> > >   at System.Web.Compilation.BaseCompiler.GetCompiledType () [0x00000]
> > >   at System.Web.Compilation.AspGenerator.GetCompiledType () [0x00000]
> > >   at System.Web.UI.PageParser.CompileIntoType () [0x00000]
> > >   at System.Web.UI.TemplateControlParser.GetCompiledInstance () [0x00000]
> > >   at System.Web.UI.PageParser.GetCompiledPageInstance (System.String
> > > virtualPath, System.String inputFile, System.Web.HttpContext context)
> > > [0x00000]
> > >   at System.Web.UI.PageHandlerFactory.GetHandler
> > > (System.Web.HttpContext context, System.String requestType,
> > > System.String url, System.String path) [0x00000]
> > >   at System.Web.HttpApplication.GetHandler (System.Web.HttpContext
> > > context) [0x00000]
> > >   at System.Web.HttpApplication+<>c__CompilerGenerated2.MoveNext () [0x00000]
> > >
> > >
> > > *
> > > * jstest.aspx------------------------------------------------
> > >
> > > <%@ Page Language="JScript" %>
> > > <html>
> > >   <head>
> > >       <script language="JScript" runat="server" >
> > >       function Page_Load(o : Object, e : EventArgs )
> > >       {
> > >               lbl.Text = "Click the Button below to see a welcome
> > > message...";
> > >       }
> > >       function Show(o : Object, e : EventArgs)
> > >       {
> > >               lblMessage.Text = "Welcome";
> > >       }
> > >       </script>
> > >
> > >   </head>
> > >   <body style="font-family:Verdana; font-size:10pt;
> > > font-color:blue;">
> > >    <center>
> > >     <form method="post" action="jstest.aspx" runat="server">
> > >       <p><asp:Label id=lbl Runat="server"/>
> > >       <p><asp:Button id=cmdClick Runat="server" Text="Hello
> > > World"
> > > onClick="Show" />
> > >       <p><asp:Label id=lblMessage Runat="server"/>
> > >     </form>
> > >  </center>
> > >   </body>
> > >
> > > </html>
> > > _______________________________________________
> > > Mono-devel-list mailing list
> > > Mono-devel-list at lists.ximian.com
> > > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> > >
> > >
> >
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> >
>



More information about the Mono-devel-list mailing list