[FIXED] [2.3] calendar shadow in Right To Left layout

  1. #1

    [FIXED] [2.3] calendar shadow in Right To Left layout

    hi,

    im using ext.net in web forms 2.2 with the RTL="true"
    and my forms with calendar looks with a shadow on the left side.
    Attached screen.
    Attached Thumbnails Click image for larger version. 

Name:	Ext_Calendar.png 
Views:	22 
Size:	18.8 KB 
ID:	6931  
    Last edited by Daniil; Oct 01, 2013 at 4:48 AM. Reason: [FIXED] [2.3]
  2. #2
    Hi @alonisoft,

    Could you, please, provide a test case?

    I remember such a bug. It should be fixed in v2.3, but I want to check your test case.

    Also I can try to come up with a workaround for v2.2. Probably, it will be hiding a shadow at all.
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi @alonisoft,

    Could you, please, provide a test case?

    I remember such a bug. It should be fixed in v2.3, but I want to check your test case.

    Also I can try to come up with a workaround for v2.2. Probably, it will be hiding a shadow at all.


    Hi Daniil
    Thanks for your reply,

    i did some test and chck few forms with dateField and finally got it !
    only in FieldContainer i see the shadow on the left.

    attached Test WebForm.


    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Test.aspx.cs" Inherits="Aloni_Ext_New.Test" %>
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    <!DOCTYPE html>
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head id="Head1" runat="server">
        <title>GridPanel with Form Details - Ext.NET Examples</title>
    
    </head>
    <body>
        <form id="Form1" runat="server">
            <ext:ResourceManager ID="ResourceManager1" runat="server" />
            <ext:Viewport ID="Viewport1" 
                runat="server" 
                Layout="BorderLayout" 
                RTL="true">
                <Items>
                    <ext:FormPanel ID="FormPanel1" 
                                runat="server" 
                                Region="Center" 
                                Split="true" 
                                Margins="0 5 5 5" 
                                BodyPadding="2" 
                                Frame="true" 
                                Title="Client Details" 
                                Icon="User" 
                                AutoScroll="True" 
                                DefaultAnchor="100%">
                        <Items>
                            <ext:FieldContainer ID="FieldContainer4" 
                                runat="server" 
                                AnchorHorizontal="100%" 
                                Layout="HBoxLayout">
                                <Items>
                                    <ext:DateField ID="BirthDay" runat="server" FieldLabel="BirthDay" Name="BirthDay" Format="dd/MM/yyyy" />
                                    <ext:DateField ID="DateIn" runat="server" FieldLabel="DateIn" Name="DateIn" Format="dd/MM/yyyy" />
                                </Items>
                            </ext:FieldContainer>
                        </Items>
                    </ext:FormPanel>
                </Items>
            </ext:Viewport>
        </form>
    </body>
    </html>
    Last edited by Daniil; Oct 01, 2013 at 4:43 AM. Reason: Please use [CODE] tags
  4. #4
    Thank you. Yes, it is reproducible with the v2.2 release, but not reproducible with the latest sources from the SVN trunk.

    As I said, you can turn the shadow off.
    <script>
        Ext.picker.Date.override({
            shadow: false
        });
    </script>
    Please add this script to the page's head.
  5. #5
    Quote Originally Posted by Daniil View Post
    Thank you. Yes, it is reproducible with the v2.2 release, but not reproducible with the latest sources from the SVN trunk.

    As I said, you can turn the shadow off.
    <script>
        Ext.picker.Date.override({
            shadow: false
        });
    </script>
    Please add this script to the page's head.

    Hi Daniil,

    thanks for your reply,
    the script cancel the shadow

Similar Threads

  1. Replies: 3
    Last Post: May 08, 2012, 1:40 PM
  2. Replies: 6
    Last Post: Apr 18, 2012, 12:00 PM
  3. Replies: 0
    Last Post: Jan 13, 2012, 2:33 PM
  4. Shadow in IE9
    By BlueDragon in forum 1.x Help
    Replies: 5
    Last Post: Jul 12, 2011, 5:51 PM
  5. Shadow Bug
    By Tbaseflug in forum 1.x Help
    Replies: 2
    Last Post: Dec 24, 2008, 9:46 AM

Tags for this Thread

Posting Permissions