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

kranthineo92 kranthi.danala at magnaquest.com
Tue Jan 28 06:59:39 UTC 2014


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


<%@ Page Language="C#" Inherits="testngjs.Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

<head runat="server">

<form id="form1" runat="server">
<asp:Button id="button1" runat="server" Text="Click me"


function btnclick()

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.

More information about the Mono-aspnet-list mailing list