EXTJS combined with Coolite Controls

  1. #1

    EXTJS combined with Coolite Controls

    Hi all

    I have an urgent issue which I would be glad to get some assistance with.

    I have a EXTJS layout and I want to put in it a Coolite user controler in .Net. When I try to do this the layout appears OK but the user contol does not appear at all. Pls find attached the code I'm using.

    10x a lot,

    Simbal

        <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
    <%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %>
    <%@ Register TagPrefix="Control" TagName="treeTest" Src="Pages/TreeTest.ascx" %>
    <html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        <title>Tabs Example</title>
        <link rel="stylesheet" type="text/css" href="Ext/2.2/resources/css/ext-all.css" />
        
        <!-- GC -->
         <!-- LIBS -->
         <script type="text/javascript" src="Ext/2.2/adapter/ext/ext-base.js"></script>
         <!-- ENDLIBS -->
        <script type="text/javascript" src="Ext/2.2/ext-all.js"></script>
    
        <script src="Ext/2.2/ext-all-debug.js" type="text/javascript"></script>
        
    
        <script src="JStest.js" type="text/javascript"></script>
        <!-- Tabs Example Files -->
    
        <!-- Common Styles for the examples -->
        <link rel="stylesheet" type="text/css" href="Ext/2.2/examples/shared/examples.css" />
            <style type="text/css">
        html, body {
            font:normal 12px verdana;
            margin:0;
            padding:0;
            border:0 none;
            overflow:hidden;
            height:100%;
        }
        .settings {
            background-image:url(images/fam//folder_wrench.png);
        }
        .nav {
            background-image:url(images/fam/folder_go.png);
        }
        </style>
        
    </head>
    <body>
    <form id="Form1"  runat="server">
    
            <div id="script" class="x-hide-display">
                 <Control:treeTest ID="treetest1" runat="server"  />        
            
    
    
    
    </form>
    </body>
    </html>

    and the extjs javascript code code

    ...
    region: 'west',
    id: 'west-panel',
    title: 'Tree Test',
    split: true,
    width: 200,
    minSize: 175,
    maxSize: 400,
    collapsible: true,
    margins: '0 0 0 0',
    layout: 'accordion',
    layoutConfig: {
    animate: true
    },
    items: [{
    title: 'Navigation',
    border: false,
    iconCls: 'nav',
    items:[{
    contentEl: 'script'
    }]
    ....


  2. #2

    RE: EXTJS combined with Coolite Controls

    Hi Simbal,

    Can you provide a bit more information. Are you trying to reproduce a javascript layout using Coolite Toolkit controls, or the reverse.*


    Adding the UserControl to the <Body> section of any Panel (Window, Panel, Tab, etc) control should work.*




    Geoffrey McGill
    Founder
  3. #3

    RE: EXTJS combined with Coolite Controls

    10x you all i resolve the problem
    i need to put the java script reference to the buttom of the "master" page

Similar Threads

  1. Replies: 1
    Last Post: Oct 15, 2010, 7:05 AM
  2. Coolite and ExtJS extensions
    By ravenEye in forum 1.x Help
    Replies: 6
    Last Post: Jul 09, 2009, 12:34 PM
  3. How to mix Coolite with ExtJs?
    By dbassett74 in forum 1.x Help
    Replies: 1
    Last Post: Jun 17, 2009, 4:49 PM
  4. [CLOSED] help files for coolite? (extjs verses coolite)
    By pkellner in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Nov 25, 2008, 12:19 PM
  5. COOLITE & EXTJS 2.0
    By t0ny in forum 1.x Help
    Replies: 0
    Last Post: Jul 29, 2008, 1:47 PM

Posting Permissions