[Mono-dev] #include is not working in mono

kranthineo92 kranthi.danala at magnaquest.com
Fri Jan 24 10:37:19 UTC 2014


Hello,

This is my first post please forgive for any mistakes
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/include-is-not-working-in-mono-tp4661784.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list