Add tab From a GridPanel ItemDblClick DirectEvents

  1. #1

    Add tab From a GridPanel ItemDblClick DirectEvents

    https://mvc.ext.net/#/Dynamic_Partia...ering/Add_Tab/

    I referenced my code using this example and i get - JavaScript runtime error: 'Ext' is undefined

    Is there any other way to add tab from the code behind?
  2. #2
    Hello @kevinK, and welcome to Ext.NET forums!

    My first guess is that you just didn't use what would be required from the view's _BaseLayout.cshtml file.

    If you want to replicate the example, you may just use the same layout file, if you want to build+run that example in fully working condition to allow you to further experiment with it, you can download Ext.NET Examples Explorer's source code; the MVC version is at its GitHub public repository.

    You can just download, open with Visual Studio, and build+run.

    What I think you're missing from layout is the Html.X().ResourceManager() which is responsible to load the required client-side javascript, css and other resources.

    Hope this helps!
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. Add parametrs to directEvents
    By triest in forum 3.x Help
    Replies: 2
    Last Post: Jul 24, 2018, 2:17 AM
  2. [CLOSED] Add new row on TAB press in GridPanel Component and normal Column
    By matrixwebtech in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Dec 26, 2014, 9:18 AM
  3. [CLOSED] MVC How to handle GridPanel ItemDblClick DirectEvent
    By ViDom in forum 2.x Legacy Premium Help
    Replies: 6
    Last Post: May 23, 2013, 5:29 PM
  4. Replies: 9
    Last Post: Nov 15, 2011, 2:37 PM
  5. How to Add a GridPanel withing a Tab Content
    By yaser82 in forum 1.x Help
    Replies: 8
    Last Post: Oct 06, 2008, 3:24 PM

Tags for this Thread

Posting Permissions