How do can I add image to a resource that is loaded dynamically from a database

The control works fine, but I want to add a picture on the side of the resource. All of the control is databinded to an sql database. Please give me an example on how to accomplish this. Kind regards, 

        <ej:Schedule ID="schCalendario"

            runat="server"

            ClientIDMode="Static"

            Width="100%" Height="525px" CellWidth="40px"

            Locale="es-ES"

            ShowQuickWindow="False"

            CurrentView="Day"

            EnableResize="false"

            EnableRTL="false"

            EnableAppointmentNavigation="true"

            Views="Day,Week,Month,Agenda"

            StartHour="7"

            EndHour="20"

            Orientation="Horizontal">

            <ContextMenuSettings Enable="true">

                <MenuItems>

                    <AppointmentCollection>

                        <ej:Appointment Id="server_open" Text="Ver Cita" />

                    </AppointmentCollection>

                    <CellsCollection>

                        <ej:Cells Id="new" Text="Nueva cita" />

                    </CellsCollection>

                </MenuItems>

            </ContextMenuSettings>

            <Group Resources="Owners" />

            <Resources>

                <ej:Resources Field="OwnerId" Name="Owners" Title="Tecnico" AllowMultiple="false">

                    <ResourceSettings Id="id" Text="text" />

                </ej:Resources>

            </Resources>

            <CategorizeSettings Enable="true" AllowMultiple="False" Id="id" Color="color" FontColor="fontColor" Text="text"></CategorizeSettings>

            <AppointmentSettings Id="Id" Subject="Subject" StartTime="StartTime" EndTime="EndTime" Description="Description" Categorize="Categorize" ResourceFields="OwnerId" />

            <TimeScale MinorSlotCount="4" MajorSlot="60" />

        </ej:Schedule> 


1 Reply

VR Vijay Ravi Syncfusion Team June 12, 2024 01:58 PM UTC

Hi Corando,

Based on your requirement for adding images in the resource header, we suggest using the Resource Header Template to customize the resource header with additional images or other customizations. Please refer to the documentation provided below for your reference. Kindly try it out.


Resource Header Template UG: Schedule - Template (syncfusion.com)


please get back to us if you need any further assistance


Regards,

Vijay


Loader.
Up arrow icon