[CLOSED] Limit x y drag on Ext.NET 2.x

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] Limit x y drag on Ext.NET 2.x

    Hi,
    I don't succeed in limiting the drag, the following code works fine in Ex.NET 1

    var onDragF = function (e) {
      var pel = this.proxy.getEl();
    
    
      var xPos = pel.getLeft(true);
      var yPos = pel.getTop(true);
    
    
      if (xPos >= 205 && xPos < 1000)
        this.x = xPos;
    
    
      if (yPos >= 36 && yPos < 800) 
        this.y = yPos;
    }
    in ext.net 2.x the this.x and this.y don't exist anymore.

    Please help me.

    Thank you.

    Jimmy
    Last edited by Daniil; May 15, 2013 at 4:10 PM. Reason: [CLOSED]

Similar Threads

  1. [CLOSED] CalendarPanel Limit No. Of CalendarModel ?
    By mis@adphk.com in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: May 10, 2013, 1:25 AM
  2. Limit of a Multiselect
    By ddolan in forum 1.x Help
    Replies: 0
    Last Post: Jun 02, 2011, 8:45 PM
  3. Limit a Dataview
    By walle in forum 1.x Help
    Replies: 5
    Last Post: Jul 06, 2010, 6:04 PM
  4. FileUploadField has limit ???
    By Puia in forum 1.x Help
    Replies: 3
    Last Post: Mar 01, 2010, 4:02 PM
  5. Limit panel resize?
    By dbassett74 in forum 1.x Help
    Replies: 3
    Last Post: May 11, 2009, 4:28 PM

Posting Permissions