[CLOSED] CalendarPanel issues

  1. #1

    [CLOSED] CalendarPanel issues

    Hi, I have several CalendarPanel issues.

    1) I Have custm control with the CalendarPanel whith the following code:


    <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="TrainingSchedule.ascx.cs" 
    Inherits="RdC.Front.UserControls.Shared.TrainingSchedule" %>
    
    <ext:Panel 
        ID="Panel2" 
        runat="server" 
        Title="Trainings Calendar" 
        Layout="Border" 
        Region="Center" 
        Cls="app-center" Height="500" Width="600" ClientIDMode="Static">
    
            <Items>                        
                <ext:CalendarPanel
                    ID="CalendarPanel1" 
                    ClientIDMode="Static"
                    runat="server"
                    Region="Center"
                    ActiveIndex="2"
                    Border="false" Height="450" Width="600">
                    <GroupStore ID="GroupStore1" runat="server">
                        <Groups>
                            <ext:Group CalendarId="1" Title="Fournisseur" />
                            <ext:Group CalendarId="2" Title="Revendeur" />
                        </Groups>
                    </GroupStore>
                    <MonthView ID="MonthView1" 
                        runat="server" 
                        ShowHeader="true" 
                        ShowWeekLinks="true" 
                        ShowWeekNumbers="true"
                        />
                    <Listeners>
                        <ViewChange  Fn="RdC.viewChange" Scope="RdC" />
                        <EventClick  Fn="RdC.record.show" Scope="RdC" />
                    </Listeners>
                </ext:CalendarPanel>
            </Items>
    </ext:Panel>
    
    <ext:EventEditWindow 
        ID="EventEditWindow1" 
        ClientIDMode="Static"
        runat="server"
        Hidden="true"
        GroupStoreID="GroupStore1" ExpandOnShow="true">
        <Listeners>
            <EditDetails Fn="RdC.record.edit" Scope="RdC" />
        </Listeners>
    </ext:EventEditWindow>
    My first question is why events looks like "+1 more" (see the picture)? How to change the view to display time and title?
    Click image for larger version. 

Name:	CalendarPanel1.jpg 
Views:	12 
Size:	93.6 KB 
ID:	7049

    The second issue is the following. When I click Edit Event I see the following picture:

    Click image for larger version. 

Name:	CalendarPanel2.jpg 
Views:	19 
Size:	91.5 KB 
ID:	7050

    First, we are not supporting reminders. is there a way to not to show Reminder field?
    Second, as you can see because of design of our website area for displaying the calendar is relatively narrow and event end time and end date don't fit the area. Is there a way to change the layout and to display the end date and the end time in the separate row?
    Last edited by Daniil; Oct 22, 2013 at 2:37 PM. Reason: [CLOSED]
  2. #2
    Hi @Hlodvig,

    1. I think a cell's width is not enough to show the event, therefore it is rendered that way.

    The WeekEventRenderer renders the events. You can look at its sources:
    <Ext.Net v1 sources>\Ext.Net\Build\Ext.Net\ux\extensions\calendar\src\WeekEventRenderer.js
    Search for "more". I think the only way to change it is to override this class.

    2. It is an EventEditForm component.
    <Ext.Net v1 sources>\Ext.Net\Build\Ext.Net\ux\extensions\calendar\src\EventEditForm.js
    You could override it as well.
  3. #3
    Thank you, Daniil.
    How can I get Ext.Net V1 sources?
  4. #4
  5. #5
    And what's the login and password? My this forum credentials don't work for the svn
  6. #6
    There are different credentials.

    They should be emailed to you when you bought Premium Support Subscription. Please check the inbox.

Similar Threads

  1. [CLOSED] CalendarPanel Set by Day
    By osef in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Jan 15, 2015, 7:46 PM
  2. Replies: 5
    Last Post: Mar 19, 2013, 3:27 AM
  3. Replies: 9
    Last Post: Nov 21, 2012, 8:08 PM
  4. [CLOSED] CalendarPanel Issues
    By cleve in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Jul 05, 2012, 5:24 AM
  5. How to refresh CalendarPanel ???
    By Nastaran in forum 1.x Help
    Replies: 7
    Last Post: Nov 30, 2010, 2:10 PM

Tags for this Thread

Posting Permissions