Hello,
I'm using advancedEditTemplate and I am unable to rescue the components inside us click and update events.
I have this code:
<telerik:RadScheduler ID="RadSchedulerAgenda" runat="server"
Localization-HeaderToday="Hoje"
Localization-HeaderDay="Dia"
Localization-HeaderWeek="Semana"
Localization-ConfirmDeleteTitle="Cancelar Horário"
Localization-ConfirmDeleteText="Deseja cancelar horário?" Height="100%" RowHeight="50px" Culture="pt-BR" Localization-HeaderMonth="Mês"
Localization-AdvancedDescription="Descrição"
Localization-AdvancedSubject="Assunto"
Localization-AdvancedAllDayEvent="Todo o Dia"
Localization-AdvancedStartTimeRequired="Inicio"
Localization-AdvancedRecurrence="Evento Recorrente"
Localization-AdvancedEditAppointment="Editar Agendamento"
Localization-Save="Salvar"
Localization-Cancel="Cancelar"
Reminders-Enabled="false"
ShowFooter="False"
ShowAllDayRow="False"
ShowNavigationPane="False"
Skin="Bootstrap"
DayStartTime="07:00:00"
DayEndTime="19:00:00"
WorkDayStartTime="07:00:00"
WorkDayEndTime="19:00:00"
DataKeyField="idAgendamento"
DataSubjectField="Solicitacao.Protocolo"
DataDescriptionField="Descricao"
DataStartField="DataInicio"
DataEndField="DataFim"
AdvancedForm-EnableCustomAttributeEditing="true"
AdvancedForm-Modal="true"
AllowInsert="False"
OnFormCreated="RadSchedulerAgenda_FormCreated"
OnNavigationCommand="RadSchedulerAgenda_NavigationCommand"
OnAppointmentDataBound="RadSchedulerAgenda_AppointmentDataBound"
OnAppointmentClick="RadSchedulerAgenda_AppointmentClick"
OnAppointmentDelete="RadSchedulerAgenda_AppointmentDelete"
OnAppointmentUpdate="RadSchedulerAgenda_AppointmentUpdate" DisplayRecurrenceActionDialogOnMove="True" EnableCustomAttributeEditing="True">
<AppointmentContextMenus>
<telerik:RadSchedulerContextMenu runat="server" ID="SchedulerAppointmentContextMenu">
<Items>
<telerik:RadMenuItem Text="Abrir" Value="CommandEdit">
</telerik:RadMenuItem>
<telerik:RadMenuItem IsSeparator="True">
</telerik:RadMenuItem>
<telerik:RadMenuItem Text="Categorize">
<Items>
<telerik:RadMenuItem Text="Não Atendido" Value="1">
</telerik:RadMenuItem>
<telerik:RadMenuItem Text="Na Recepção" Value="2">
</telerik:RadMenuItem>
<telerik:RadMenuItem Text="Em Atendimento" Value="3">
</telerik:RadMenuItem>
<telerik:RadMenuItem Text="Atendido" Value="4">
</telerik:RadMenuItem>
</Items>
</telerik:RadMenuItem>
<telerik:RadMenuItem IsSeparator="True">
</telerik:RadMenuItem>
<telerik:RadMenuItem Text="Delete" Value="CommandDelete" ImageUrl="https://safeweb.com.br/ecommerce/icons/deletered.png">
</telerik:RadMenuItem>
</Items>
</telerik:RadSchedulerContextMenu>
</AppointmentContextMenus>
<AdvancedEditTemplate>
<div class="rsDialog rsAdvancedEdit rsAdvancedModal" style="position: relative">
<div class="rsAdvTitle">
<h1 class="rsAdvInnerTitle">Visualizar Agendamento</h1>
<asp:LinkButton runat="server" ID="AdvancedEditCloseButton" CssClass="rsAdvEditClose" CommandName="Cancel" />
</div>
<div class="rsAdvContentWrapper">
<ul class="rfbGroup">
<li class="rfbRow">
<telerik:RadTextBox RenderMode="Lightweight" ID="Assunto_RadTextBox" runat="server" Width="100%" Label="Assunto : " CssClass="form-control" ReadOnly="true" Skin="Bootstrap" />
</li>
<li class="rfbRow">
<telerik:RadDatePicker RenderMode="Lightweight" ID="DtInicio_RadDatePicker" CssClass="toDate" Width="50%" runat="server" DateInput-Label="Data/Hora Inicio" Skin="Bootstrap" />
<telerik:RadTimePicker RenderMode="Lightweight" ID="HrInicio_RadTimePicker" runat="server" Skin="Bootstrap" TimeView-Interval="00:30" />
</li>
<li class="rfbRow">
<telerik:RadDatePicker RenderMode="Lightweight" ID="DtFim_RadDatePicker" CssClass="toDate" Width="50%" runat="server" DateInput-Label="Data/Hora Fim" Skin="Bootstrap" />
<telerik:RadTimePicker RenderMode="Lightweight" ID="HrFim_RadTimePicker" runat="server" Skin="Bootstrap" TimeView-Interval="00:30" />
</li>
<li class="rfbRow">
<telerik:RadTextBox RenderMode="Lightweight" ID="Nome_RadTextBox" runat="server" Width="100%" Label="Nome/Razão Social : " CssClass="form-control" ReadOnly="true" Skin="Bootstrap" />
</li>
<li class="rfbRow">
<telerik:RadTextBox RenderMode="Lightweight" ID="Documento_RadTextBox" runat="server" Width="100%" Label="Documento : " CssClass="form-control" ReadOnly="true" Skin="Bootstrap" />
</li>
<li class="rfbRow">
<telerik:RadTextBox RenderMode="Lightweight" ID="Email_RadTextBox" runat="server" Width="100%" Label="Email : " CssClass="form-control" ReadOnly="true" Skin="Bootstrap" />
</li>
<li class="rfbRow">
<telerik:RadTextBox RenderMode="Lightweight" ID="Telefone_RadTextBox" runat="server" Width="100%" Label="Telefone : " CssClass="form-control" ReadOnly="true" Skin="Bootstrap" />
</li>
<li class="rfbRow">
<telerik:RadTextBox RenderMode="Lightweight" ID="Produto_RadTextBox" runat="server" Width="100%" Label="Produto : " CssClass="form-control" ReadOnly="true" Skin="Bootstrap" />
</li>
<li class="rfbRow">
<telerik:RadComboBox RenderMode="Lightweight" ID="Atendente_RadComboBox" runat="server" EmptyMessage="Selecione o Atendente" Width="100%" Label="Atendente : " DataSourceID="SqlDataSourceAtendentes" DataValueField="idUsuario" DataTextField="Nome" Skin="Bootstrap" />
</li>
<li class="rfbRow">
<telerik:RadComboBox RenderMode="Lightweight" ID="Status_RadComboBox" runat="server" Width="100%" Label="Status : " DataSourceID="SqlDataSourceStatus" DataValueField="Value" DataTextField="Text" Skin="Bootstrap" />
</li>
<li class="rfbRow">
<telerik:RadTextBox RenderMode="Lightweight" ID="Observacao_RadTextBox" runat="server" TextMode="MultiLine" Width="100%" Label="Observação : " Skin="Bootstrap" BorderWidth="1px" />
</li>
</ul>
<asp:Panel runat="server" ID="Panel1" CssClass="rsAdvancedSubmitArea">
<div class="rsAdvButtonWrapper">
<asp:LinkButton CommandName="Update" runat="server" ID="LinkButton2" CssClass="rsAdvEditSave" Text="Salvar" />
<asp:LinkButton runat="server" ID="LinkButton3" CssClass="rsAdvEditCancel" CommandName="Cancel" Text="Cancelar" />
</div>
</asp:Panel>
</div>
</div>
</AdvancedEditTemplate>
<AppointmentTemplate>
<asp:Label runat="server" ID="teste_lbl" Text='<%# Eval("Subject") %>'></asp:Label>
</AppointmentTemplate>
<ExportSettings>
<Pdf PageTopMargin="1in" PageBottomMargin="1in" PageLeftMargin="1in" PageRightMargin="1in"></Pdf>
</ExportSettings>
</telerik:RadScheduler>
How do I get access to the elements?
Thanks in advance.