[CLOSED] MVC - Direct Method

  1. #1

    [CLOSED] MVC - Direct Method

    In Ext, what is the equivalent syntax for MVC as when calling a direct method in ASP.NET?

    function handleContinue()
                    var markets = #{grdQuoteMarketList}.getRowsValues();
                    Ext.net.DirectMethods.#{ucMarketList}.ValidateMarketSelection(markets, {
                        success: function (result) {
                            if (result) {
                        failure: function(response, options) 
                            directEventFailure("Unable to validate market selection", response, 'Validate market selection:  ');
    Last edited by Daniil; Jun 21, 2012 at 10:49 PM. Reason: [CLOSED]
  2. #2

    Server side DirectMethods handler are designed to be used in the Web Forms context.

    It should not be used in MVC.

    In MVC you can use
    to call controller actions.

    The same way as the Web Service is called here:

Similar Threads

  1. [CLOSED] Output Cache issue with Direct Method / Direct Event
    By amitpareek in forum 1.x Premium Help
    Replies: 18
    Last Post: Mar 01, 2013, 6:03 AM
  2. [CLOSED] Direct Method in UX
    By dev in forum 1.x Premium Help
    Replies: 2
    Last Post: May 30, 2012, 1:32 PM
  3. Direct method and direct event over SSL?
    By dimitar in forum 1.x Help
    Replies: 0
    Last Post: Oct 08, 2011, 9:09 PM
  4. [CLOSED] Access with Direct Method
    By rnfigueira in forum 1.x Premium Help
    Replies: 1
    Last Post: Aug 23, 2011, 5:45 PM
  5. [CLOSED] Direct Method only working once
    By CarWise in forum 1.x Premium Help
    Replies: 1
    Last Post: Jan 07, 2011, 10:09 AM

Tags for this Thread

Posting Permissions