[CLOSED] ext.net resource

  1. #1

    [CLOSED] ext.net resource

    when i add the following to my page

    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    <ext:ResourceManager runat="server" />
    there is a class that comes from webresource.axd called "x-border-box, x-border-box *" box sizing and it is making all my menus on my master page squeezed. what would be the fix please.

    but if use RenderStyles="None" then ext:DateField will not show me the image button for the calendar

    please advise
    Last edited by Daniil; May 07, 2013 at 3:45 AM. Reason: [CLOSED]
  2. #2
    What menus do you mean? Ext.Net.Menu?
    Just set required css rules (which change ExtJS border css rule) for your menus

    If you provide runable (but simple) test case then we will happy to investigate it
  3. #3
    Quote Originally Posted by Vladimir View Post
    What menus do you mean? Ext.Net.Menu?
    Just set required css rules (which change ExtJS border css rule) for your menus

    If you provide runable (but simple) test case then we will happy to investigate it
    I'm building dynamic menus on the fly, not ext.net menu..

    how would i just set required rules only for date control. all i want to do is create a date user control for my pages to use...

    <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="CalendarDateControl.ascx.cs"
        Inherits="NV.NG_Util.CalendarDateControl" %>
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    <script>
        var onKeyUp = function () 
        {
            var me = this,
                    v = me.getValue(),
                    field;
       
            if (me.startDateField) 
            {
                field = Ext.getCmp('ctl00_ContentPlaceHolder1_ucBeginDate_txtCalendarValue');
                field.setMaxValue(v);
                me.dateRangeMax = v;
            }  
         
    
            field.validate();
        };
    </script>
    <ext:ResourceManager runat="server" />
    <ext:DateField ID="txtCalendarValue" runat="server"  EnableKeyEvents="true">
        <CustomConfig>
            <ext:ConfigItem Name="startDateField" Value="txtCalendarValue" Mode="Value" />
        </CustomConfig>
        <Listeners>
            <KeyUp Fn="onKeyUp" />
        </Listeners>
    </ext:DateField>
    Last edited by geoffrey.mcgill; Apr 29, 2013 at 10:13 PM. Reason: please use [CODE] tags
  4. #4
    how would i just set required rules only for date control. all i want to do is create a date user control for my pages to use...
    It is not possible, you need to set required rules for menus

Similar Threads

  1. Replies: 1
    Last Post: Apr 16, 2013, 3:06 AM
  2. ext.asd resource not found
    By rkchak in forum 1.x Help
    Replies: 2
    Last Post: Mar 26, 2012, 6:19 PM
  3. How do you add a resource item
    By craig2005 in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Feb 09, 2011, 6:44 PM
  4. Icon resource
    By Yannis in forum 1.x Help
    Replies: 1
    Last Post: Jun 22, 2010, 4:02 AM

Posting Permissions