Telerik Forums
UI for WinForms Forum
8 answers
246 views
Hi

Is it possible to drag and drop pages between two or more RadPageView controls? I used a RadSplitContainer to put two RadPageViews side by side, but can't seem to drag the pages between both of them.

Thanks.
Hristo
Telerik team
 answered on 25 Aug 2016
4 answers
105 views

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

Laurent
Top achievements
Rank 1
 answered on 25 Aug 2016
2 answers
185 views
Please , help me
I must restrict mouse wheel , and keydown also keyUp arrows ... in telerik GridView when numeric field is in edit mode.
Denius
Top achievements
Rank 1
 answered on 25 Aug 2016
7 answers
999 views
Hello

I can't find any reference to FirstDisplayedScrollingRowIndex for the radgridview as it exists in datagridview. Did i missed it, or is there another way to obtain this property in a radgridview ?

Best Regards,
Guillaume.
Adiial
Hristo
Telerik team
 answered on 25 Aug 2016
1 answer
109 views

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

Dimitar
Telerik team
 answered on 25 Aug 2016
5 answers
129 views

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

Hristo
Telerik team
 answered on 25 Aug 2016
4 answers
693 views

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

Dimitar
Telerik team
 answered on 25 Aug 2016
9 answers
1.7K+ views

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?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Aug 2016
3 answers
268 views
Using the Visual Style Builder to set theme colors I can see how to modify the Scheduler Header Cell Element, but where is the Resource Header Cell Element modified?  I would to set this in the theme because my application allows loading of predefined themes; therefore I prefer not to use the SchedulerCell_Format event.  Thank you for any guidance you can provide.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Aug 2016
9 answers
148 views

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>

Wendi
Top achievements
Rank 1
 answered on 24 Aug 2016
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
AI Coding Assistant
+? more
Top users last month
Nakul
Top achievements
Rank 1
Rina
Top achievements
Rank 1
Mukesh
Top achievements
Rank 1
Ruksana
Top achievements
Rank 1
Rakesh
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Nakul
Top achievements
Rank 1
Rina
Top achievements
Rank 1
Mukesh
Top achievements
Rank 1
Ruksana
Top achievements
Rank 1
Rakesh
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?