Mar 13, 2012, 5:55 PM
[CLOSED] DirectMethod with empty namespace not working
Below code is giving js error due to empty namespace, I don't want to use the namespace, is there any workaround?
<%@ Page Language="C#" AutoEventWireup="true" %>
<script type="text/C#" runat="server">
[DirectMethod]
public void Process()
{
X.MessageBox.Show(
new MessageBoxConfig
{
Message = "hello"
});
}
</script>
<body>
<form id="form1" runat="server">
<ext:ResourceManager runat="server" Namespace="">
</ext:ResourceManager>
</form>
</body>
Last edited by Daniil; Mar 14, 2012 at 1:49 PM.
Reason: Please use [CODE] tags, [CLOSED]