[Mono-aspnet-list] including a file dynamically using #include is not working in mono

miniBill cmt.minibill at gmail.com
Tue Feb 4 13:23:22 UTC 2014


I don't see "#include" anywhere in that code.
What backend are you using? Xsp, mono-fastcgi or mod_mono?
What version of mono? What version of xsp?


2014-01-28 kranthineo92 <kranthi.danala at magnaquest.com>:

> Hello,
>
> This is my first post please forgive for any mistakes,i posted it in
> mono-dev but i think it fits in this thread..sorry for repost don't know
> how
> to move it here
>
> Coming to my problem I'm using mono for asp.net web application
> development,Earlier that is while working on ms.net and iis we used
> #include
> tag to add a java script file dynamically like this
>
> and it works fine,the script
> but when running the same application in mono framework it is not working
> correctly.on examination in page source of both the pages when run on
> ms.net
> and mono.I found that the function in js file is appearing in ms.net page
> but not appearing in the latter.
> as mono is implementation of ms.net i think it should also work
> properly.so
> please check it
>
> I am adding a simple test case which i used
>
> Default.aspx
>
> <%@ Page Language="C#" Inherits="testngjs.Default" %>
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>
> <html>
> <head runat="server">
>
> <title>Default</title>
> </head>
> <body>
> <form id="form1" runat="server">
> <asp:Button id="button1" runat="server" Text="Click me"
> OnClientClick="btnclick()"/>
> </form>
> </body>
> </html>
>
> script22:
>
>
> function btnclick()
> {
> alert("Hello...!!Working");
> }
>
> aspx.cs has nothing to do so i am not posting it ..
>
> please check this and help me solve my problem. as we have many pages in
> this my project it will be difficult for me to add them again.hoping in
> quick reply
>
> Thanks and Regards,
> Kranthi Kumar
>
>
>
>
>
>
>
>
> --
> View this message in context:
> http://mono.1490590.n4.nabble.com/including-a-file-dynamically-using-include-is-not-working-in-mono-tp4661807.html
> Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
> _______________________________________________
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20140204/a142a7ea/attachment.html>


More information about the Mono-aspnet-list mailing list