Hi,
I am looking for a way to limit the RichTextEditor to only one page.
The user must not be able to enter more text than can fit one a single page.
Thanks in advance!
Laurent
Hi
i try to get the index of the line I point with the mouse when the list of the multicomulmncombobox is opened and the line is not selected yet.
How can I do that?
thanks
Hi,
I'd like to export radchartelements listed in a radgridview as pdf or printable page. It works half way because Telerik exports in both cases (pdf or print) a table with rows containing the type which is passed as datasource onto the gridview. Taking a picture with .PrintPreview(Me.RadPrintDocument1) returns a blank page, so this is not helping either. What am I missing here?
BR
Hi,
Is it possible to place the progressbar inside the statusstrip to the right hand side? Seems all the controls at the bottom are placed from left to right. But I would like to have some on the right, and some on the left.
Thanks,
Carlitos
I have a MultiColumnComboBox who's datasource is set to a BindingSource.DataSource. The BindingSource.DataSource is set to a BindingList<Person> of objects who's first item is Null. The DropDown displays correctly with the first row being blank. I then bind the MultiColumnComboBox's Value property to Job.Person property. The initial selected row for the MultiColumnComboBox is the Null record. When I select row 2 (Person: John Doe) when the current selection was the Null row, the Job.Person property is not updated. If I change the selection to a row 2 (Person: John Doe) and then row 3 (Person: Peter Paul), Job.Person property is updated.
This is very confusing to the user as it appears that they've updated the field but it hasn't updated the actual Job.Person property. And if the user needs to set Job.Person property back to Null by selecting the first row (the null row), it doesn't update the Job.Person property. Is there a proper way to be able to use a Null row in a MultiColumnComboBox?
Hi There,
I have my start date ok, but appointment panel not continue to end date. You guys could help me with some advice? Please consider we are from Brazil("16/06/2016 17:00:00"). Thanks for your help.
My code:
<telerik:RadAjaxManagerProxy ID="RadAjaxManager1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="agenda">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="agenda" />
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="cboFuncionarios">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="agenda" />
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="chkListTipoAgenda">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="agenda" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManagerProxy>
<!-- Para não permitir update por resize ou move da anotação -->
<script type="text/javascript">
function OnClientAppointmentMoveStart(sender, eventArgs) {
eventArgs.set_cancel(true);
}
</script>
<style type="text/css">
.rsWrap > div {
height: 90px !important;
}
.rsAllDayRow {
height: 100px !important;
}
.rsAlt {
height: 100px !important;
}
.rsNonWorkHour {
height: 100px !important;
}
</style>
<asp:Label ID="lblTipoAgenda" runat="server" CssClass="bloco" Text="Filtrar por tipo de agenda:"></asp:Label>
<asp:CheckBoxList ID="chkListTipoAgenda" runat="server" RepeatDirection="Horizontal" AutoPostBack="true"
OnSelectedIndexChanged="chkListTipoAgenda_SelectedIndexChanged">
<asp:ListItem Value="1" Selected="True">Ação</asp:ListItem>
<asp:ListItem Value="2" Selected="True">Ausência</asp:ListItem>
<asp:ListItem Value="3" Selected="True">Férias</asp:ListItem>
<asp:ListItem Value="4" Selected="True">Outros</asp:ListItem>
</asp:CheckBoxList>
<br />
<div class="divAgenda">
<telerik:RadScheduler runat="server" ID="agenda"
SelectedView="MonthView" ShowFooter="true" HoursPanelTimeFormat="HH:mm" RowHeight="100px" TimeZoneOffset="00:00:00"
DayStartTime="08:00:00" DayEndTime="21:00:00" FirstDayOfWeek="Monday" LastDayOfWeek="Sunday" ShowAllDayRow="false"
EnableDescriptionField="true" AppointmentStyleMode="Default"
DataKeyField="IDAGENDAFUNCIONARIO" DataSubjectField="DESCRICAO" DataStartField="DATAINICIO" DataEndField="DATAFIM"
OnAppointmentDelete="agenda_AppointmentDelete" OnAppointmentInsert="agenda_AppointmentInsert"
OnAppointmentUpdate="agenda_AppointmentUpdate" OnAppointmentCommand="agenda_AppointmentCommand" OnAppointmentDataBound="agenda_AppointmentDataBound" OnAppointmentCreated="agenda_AppointmentCreated"
StartInsertingInAdvancedForm="true" StartEditingInAdvancedForm="true"
OnFormCreated="agenda_FormCreated" OnClientAppointmentMoveStart="OnClientAppointmentMoveStart" OverflowBehavior="Auto" MonthView-AdaptiveRowHeight="true">
<AdvancedForm Modal="true" ZIndex="9999"></AdvancedForm>
<DayView EnableExactTimeRendering="true"/>
<TimelineView UserSelectable="true" GroupingDirection="Vertical"></TimelineView>
<TimeSlotContextMenuSettings EnableDefault="true" />
<AppointmentContextMenuSettings EnableDefault="true" />
<ExportSettings OpenInNewWindow="true" FileName="Agenda">
<Pdf PageTitle="Agenda" Author="AHI" Creator="AHI" Title="Agenda" PaperOrientation="Landscape" PaperSize="A4" PageLeftMargin="40mm"
PageRightMargin="40mm"
PageBottomMargin="40mm"
PageTopMargin="40mm"
></Pdf>
</ExportSettings>
<AppointmentTemplate>
<div id="tituloAgenda" class="rsAptSubject">
<b><%# Eval("Subject") %></b>
</div>
<asp:LinkButton runat="server" ID="lnkAcao" CssClass="bloco link-acao"
CommandName="Cancel" CausesValidation="false" ToolTip='Ver Ação' >
<%# Container.Appointment.Owner.Localization.AdvancedClose%>
</asp:LinkButton>
<asp:Label runat="server" ID="lblNumAcao" Text="" CssClass="bloco"></asp:Label>
<asp:Label runat="server" ID="lblEmpresa" Text="" CssClass="bloco"></asp:Label>
<asp:Label runat="server" ID="lblMotivoAcao" Text="" CssClass="bloco"></asp:Label>
</AppointmentTemplate>
<AdvancedInsertTemplate>
<div class="rsAdvancedEdit rsAdvancedModal" style="position: relative">
<div class="rsModalBgTopLeft">
</div>
<div class="rsModalBgTopRight">
</div>
<div class="rsModalBgBottomLeft">
</div>
<div class="rsModalBgBottomRight">
</div>
<div class="rsAdvTitle">
<h1 class="rsAdvInnerTitle">
<%# Container.Appointment.Owner.Localization.AdvancedNewAppointment %></h1>
<asp:LinkButton runat="server" ID="AdvancedEditCloseButton" CssClass="rsAdvEditClose"
CommandName="Cancel" CausesValidation="false" ToolTip='<%# Container.Appointment.Owner.Localization.AdvancedClose %>'>
<%# Container.Appointment.Owner.Localization.AdvancedClose%>
</asp:LinkButton>
</div>
<div class="rsAdvContentWrapper">
<div class="advFormOuter">
<div class="advFormLeft">
<p>
<asp:Label ID="lblTipoAgenda" runat="server" Text="Tipo de Anotação:" CssClass="bloco"></asp:Label>
<telerik:RadComboBox runat="server" ID="cboTipoAgenda" DataValueField="Value" RenderMode="Native" DataTextField="Text">
<Items>
<telerik:RadComboBoxItem Text="Ausência" Value="2" />
<telerik:RadComboBoxItem Text="Férias" Value="3" />
<telerik:RadComboBoxItem Text="Outros" Value="4" />
</Items>
</telerik:RadComboBox>
<asp:Label ID="lblDtInicio" runat="server" Text="De:" CssClass="bloco"></asp:Label>
<telerik:RadDateTimePicker runat="server" ID="dtInicio"></telerik:RadDateTimePicker>
<asp:Label ID="lblDtFinal" runat="server" Text="Até:" CssClass="bloco"></asp:Label>
<telerik:RadDateTimePicker runat="server" ID="dtFinal"></telerik:RadDateTimePicker>
</p>
</div>
<div class="advFormRight">
<asp:Label ID="lblObs" runat="server" Text="Descrição / Observações:" CssClass="bloco"></asp:Label>
<telerik:RadTextBox ID="txtObs" runat="server" TextMode="MultiLine" Width="300" Height="50"></telerik:RadTextBox>
</div>
<div class="advFormLbl">
<asp:Label runat="server" ID="lblAviso" Visible="false" CssClass="labelAtencao"></asp:Label>
</div>
</div>
<asp:Panel runat="server" ID="ButtonsPanel" CssClass="rsAdvancedSubmitArea">
<div class="rsAdvButtonWrapper">
<asp:LinkButton CommandName="Insert" runat="server" ID="btnSalvar" ToolTip="Inserir" CssClass="rsAdvEditSave">
<span><%# Container.Appointment.Owner.Localization.Save%></span>
</asp:LinkButton>
<asp:LinkButton runat="server" ID="CancelButton" CssClass="rsAdvEditCancel" ToolTip="Cancelar" CommandName="Cancel"
CausesValidation="false">
<span><%# Container.Appointment.Owner.Localization.Cancel%></span>
</asp:LinkButton>
</div>
</asp:Panel>
</div>
</div>
</AdvancedInsertTemplate>
<AdvancedEditTemplate>
<div class="rsAdvancedEdit rsAdvancedModal" style="position: relative">
<div class="rsModalBgTopLeft">
</div>
<div class="rsModalBgTopRight">
</div>
<div class="rsModalBgBottomLeft">
</div>
<div class="rsModalBgBottomRight">
</div>
<div class="rsAdvTitle">
<h1 class="rsAdvInnerTitle">
<%# Container.Appointment.Owner.Localization.AdvancedEditAppointment %></h1>
<asp:LinkButton runat="server" ID="LinkButton1" CssClass="rsAdvEditClose"
CommandName="Cancel" CausesValidation="false" ToolTip='<%# Container.Appointment.Owner.Localization.AdvancedClose %>'>
<%# Container.Appointment.Owner.Localization.AdvancedClose%>
</asp:LinkButton>
</div>
<div class="rsAdvContentWrapper">
<div class="advFormOuter">
<div class="advFormLeft">
<p>
<asp:Label ID="lblTipoAgenda" runat="server" Text="Tipo de Anotação:" CssClass="bloco"></asp:Label>
<telerik:RadComboBox runat="server" ID="cboTipoAgenda">
<Items>
<telerik:RadComboBoxItem Text="Ausência" Value="2" />
<telerik:RadComboBoxItem Text="Férias" Value="3" />
<telerik:RadComboBoxItem Text="Outros" Value="4" />
</Items>
</telerik:RadComboBox>
<asp:Label ID="lblDtInicio" runat="server" Text="De:" CssClass="bloco"></asp:Label>
<telerik:RadDateTimePicker runat="server" ID="dtInicio"></telerik:RadDateTimePicker>
<asp:Label ID="lblDtFinal" runat="server" Text="Até:" CssClass="bloco"></asp:Label>
<telerik:RadDateTimePicker runat="server" ID="dtFinal"></telerik:RadDateTimePicker>
</p>
</div>
<div class="advFormRight">
<asp:Label ID="lblObs" runat="server" Text="Descrição / Observações:" CssClass="bloco"></asp:Label>
<telerik:RadTextBox ID="txtObs" runat="server" TextMode="MultiLine" Width="300" Height="50"></telerik:RadTextBox>
</div>
<div class="advFormLbl">
<asp:Label runat="server" ID="lblAviso" Visible="false" CssClass="labelAtencao"></asp:Label>
</div>
</div>
<asp:Panel runat="server" ID="Panel1" CssClass="rsAdvancedSubmitArea">
<div class="rsAdvButtonWrapper">
<asp:LinkButton CommandName="Justificar" ToolTip="Clique se necessitar faltar a este compromisso" runat="server" ID="btnJustificar" CssClass="rsAdvEditSave">
<span>Faltar</span>
</asp:LinkButton>
<asp:LinkButton CommandName="Update" runat="server" ID="btnSalvar" ToolTip="Atualizar" CssClass="rsAdvEditSave">
<span><%# Container.Appointment.Owner.Localization.Save%></span>
</asp:LinkButton>
<asp:LinkButton runat="server" ID="LinkButton3" CssClass="rsAdvEditCancel" ToolTip="Cancelar" CommandName="Cancel"
CausesValidation="false">
<span><%# Container.Appointment.Owner.Localization.Cancel%></span>
</asp:LinkButton>
</div>
</asp:Panel>
</div>
</div>
</AdvancedEditTemplate>
</telerik:RadScheduler>
</div>
<br />
<telerik:RadButton runat="server" ID="btnExport" Text="Exportar para PDF" OnClick="btnExport_Click"></telerik:RadButton>
<telerik:RadButton runat="server" ID="btnExportOutlook" Text="Exportar para Outlook" OnClick="btnExportOutlook_Click"></telerik:RadButton>
<telerik:RadButton runat="server" ID="btnImprimir" Text="Imprimir" OnClick="btnImprimir_Click"></telerik:RadButton>