[OPEN] [#261] Ext.NET, Sencha Touch and Ext.Direct

Page 2 of 2 FirstFirst 12
  1. #11
    Well, the requirement gets totally clear now.

    Unfortunately, Ext.NET Direct API is not ready to use in such a way. It would be very nice to get it, so, I created an Issue.
    https://github.com/extnet/Ext.NET/issues/261

    Unfortunately, the best I can suggest for now is the following. You will have to include manually all the required JavaScript sources.

    Example
    <%@ Page Language="C#" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    <script runat="server">
        [DirectMethod]
        public void TestDirectMethod() { }
    </script>
    
    <!DOCTYPE html>
    <html>
    <head runat="server">
        <title>Ext.NET v2 Example</title>
    
        <%-- Include required resources --%>
    </head>
    <body>
        <ext:ResourceManager runat="server" RenderScripts="None" RenderStyles="None" />
    </body>
    </html>
  2. #12
    Hello

    note that I found relatively simple workaround to this.

    All waht I wanted to achieve is to have separate DirectMethods for module1 and module2, rather then having them both in the same namespace in my single page based application.

    so something like
    Ext.net.DirectMethods.Module1.SomeMethod for Module1 method(s) and
    Ext.net.DirectMethods.Module2.SomeMethod for Module2 related method(s)

    (another story is that Module1 and Module2 is registered like a plugin to my app dynamically, but that's notimportant now)

    So the solution is to put direct methods in UserControls that does not have any ascx, just a DirectMethods
    and then register the UserControls like

    <alc:ModuleDirectMethods runat="server" ID="Module1" ClientIDMode="Static"/> (or dynamically in my case using LoadCOntrol)

    then the
    Ext.net.DirectMethods.Module1.SomeMethod

    become available
  3. #13
    Thank you for sharing.

    It looks that I didn't understand the requirement.
  4. #14
    Hello!

    Here's a thread that you might be pretty interested in: Ext.NET Mobile - Beta Now Available.

    And yes, that's what it suggests: Ext.NET now has a publicly accessible version of the "modern" framework of ExtJS 6! Got a version 4 key? You are then eligible for using it with your current license key then!

    Note: without a Ext.NET version 4 license key you can use and test Ext.NET Mobile on development environment/evaluation only!
    Fabrício Murta
    Developer & Support Expert
Page 2 of 2 FirstFirst 12

Similar Threads

  1. [CLOSED] Sencha Touch
    By Pablo_Azevedo in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Aug 03, 2016, 7:57 AM
  2. [CLOSED] Sencha Touch
    By x1000 in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Aug 03, 2016, 7:56 AM
  3. Sencha Touch
    By Yannis in forum 1.x Help
    Replies: 2
    Last Post: Aug 03, 2016, 7:56 AM
  4. [CLOSED] Sencha Touch
    By marco.morreale in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Mar 15, 2013, 3:46 PM

Posting Permissions