Telerik Forums
UI for WPF Forum
4 answers
203 views

Hi Progress,

 

I was wondering if it is possible to combine BaseLine_WPF project and ProjectDeadline_WPF project inside your xaml-sdk-master samples/Examples?

If I have understood this correctly, TimelineContainerSelector in Xaml can only have one child. How can I give several behaviors to TimelineContainerSelector?

 

Thanx

Best Regards

kourosh

Martin Ivanov
Telerik team
 answered on 04 Jun 2018
1 answer
353 views
I have seen the new application "WFP Control Examples" and I would be interested in implementing the "hamburger menu" that expands like UWP mnufly. Is the code available in some repository?
Martin Ivanov
Telerik team
 answered on 01 Jun 2018
1 answer
201 views

Is there an option to set Duplex print for the RadRichTextbox?

 

Tanya
Telerik team
 answered on 01 Jun 2018
3 answers
191 views

Hi,

I am using Telerik RichTextBox Mail Merge functionality. I am printing mail merge document in the background thread and it is working fine. Now just I want to print it both side of the paper. How can I do duplex printing with Mail Merge.

Thanks

Tanya
Telerik team
 answered on 01 Jun 2018
1 answer
150 views

Hi
Does OpenMaps provider have option that you type name of city in textbox and then you get  pointed to that city.
Something like search. I saw in you examples that bing have that option .
what about openMaps ??

thanks

Petar Mladenov
Telerik team
 answered on 01 Jun 2018
1 answer
109 views

Hi,

I have the following definition of the control:
< :RadDocking PanesSource="{Binding panes}"...

Panes have  of items which order is different than in the UI. I need to get the first pane in order to mark it in code as selected. How can I do it?

Dilyan Traykov
Telerik team
 answered on 31 May 2018
0 answers
236 views

Hi Telerik,

I’m using RadGridView and RadDataPager. Items bound to RadDataPager Source. RadGridView’s ItemsSource is the PagedSource of RadDataPager. I’m using dynamic page size concept. For this I have styled the DataPagerPresenter. The RadComboBox is used inside the style for selecting the Page Size. A converter is used to set the ItemsSource of the RadComboBox.

The problem I’m facing here is, while initializing the RadDataPager the converter gets fired and the initial Page size (10) is set as ItemsSource. After the items are fetched from the service, The items are set to Source of the RadDataPager. Now, the converter is not getting fired to update the page size itemssource as it is having 1000 records. I want to display 10, 20, 30, 40, 50 as ItemsSource of RadComboBox.

How to update the ItemsSource of RadComboBox when items are set?

 

<ControlTemplate x:Key="DataPagerPresenterTemplate" TargetType="dataPager:DataPagerPresenter">
...
...
...
<tk:RadComboBox x:Name="pageSizeOptionComboBox" Grid.Column="1"
                        ItemsSource="{Binding RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource pageSizeCountConverter}}"
                        SelectedValue="{Binding PageSize, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay}" />
...
...
...
</ControlTemplate>

 

public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
        {
            DataPagerPresenter presenter = value as DataPagerPresenter;
            var totalCount = presenter.PageCount * presenter.PageSize;
            int i = 1;
            List<int> result = new List<int>();
            for (int j = 0; j < totalCount && result.Count < 5; j++)
            {
                if (i % 10 == 0)
                {
                    result.Add(i);
                }

                i++;
            }

            return result;
        }

 

Azharshah
Top achievements
Rank 1
 asked on 31 May 2018
3 answers
718 views

Hi..

Any ideas why I'm getting this error?

Help?

 

Severity Code Description Project File Line Suppression State
Error Unknown build error, 'Could not load type 'Telerik.Windows.Controls.TemplateVisualStateAttribute' from assembly 'Telerik.Windows.Controls, Version=2017.2.614.45, Culture=neutral, PublicKeyToken=5803cfa389c90ce7'. Line 1

 

Here's the code.. Where's the error

 

THANKS IN ADVANCE

 

 <telerik:RadScheduler Name="radSchedule" telerik:StyleManager.Theme="{StaticResource MyThemeInstance}"  AppointmentTemplate="{StaticResource AppointmentTemplateFLOM}"
                              TimeRulerHostStyle="{StaticResource TimeRulerHostStyleFLOM}"
                              TimeSlotTemplateSelector="{StaticResource TimeSlotTemplateSelector}" ViewMode="Week"  
                              TimelineHeaderFormat="{}{0:M-d-yyyy}"
                              AppointmentEditing="radSchedule_AppointmentEditing"                            
                              SelectedViewStartDateChanged="radSchedule_SelectedViewStartDateChanged" AllDayAreaHeight="0" AllowDrop="False" FontSize="14" IsEnabled="True" AppointmentAdding="radSchedule_AppointmentAdding" AppointmentDeleting="radSchedule_AppointmentDeleting" AppointmentCreating="radSchedule_AppointmentCreating" IsReadOnly="False">
            <telerikScheduler:RadScheduler.WeekViewDefinition>
                <telerikScheduler:WeekViewDefinition DayStartTime="0:00:00" VisibleDays="7" DayEndTime="23:00:00" TimeSlotLength="0:15:0" LargeChangeInterval="7d" />
            </telerikScheduler:RadScheduler.WeekViewDefinition>
                <telerikScheduler:RadScheduler.DayViewDefinition>
                    <telerikScheduler:DayViewDefinition DayStartTime="0:00:00" DayEndTime="23:00:00" TimeSlotLength="0:15:0" />
                    <!--HEIGHT OF APPT -->
                </telerikScheduler:RadScheduler.DayViewDefinition>
            </telerik:RadScheduler>
         </telerik:RadBusyIndicator>

Jonathan
Top achievements
Rank 1
Iron
Veteran
 answered on 31 May 2018
1 answer
199 views

Hi,

We have drag and drop functionality from one gridview to another and its working fine in development system. But when we install application in windows touch screen tablet then not able to perform drag and drop functionality. I am not able to even drag from one gridview. Its does not giving any error or exception.

Tablet and development machine has same OS - Windows 10.

 

Please provide the solution for same.

 

Regards,

Ajay

Martin Ivanov
Telerik team
 answered on 31 May 2018
1 answer
215 views

Hi, I'm using a RadGridView with MySQL.Data and I need to save the cell value after I edit it.

How can I create a function that is called after I edit the cell?

This is my xaml code about RadGridView:

 

        <telerik:RadGridView x:Name="MyName" NewRowPosition="None" ItemsSource="{Binding}" CanUserInsertRows="True" AddingNewDataItem="PricingGrid_AddingNewDataItem"
                            ColumnWidth="*"
                            AutoGenerateColumns="False"
                            RowIndicatorVisibility="Collapsed"
                            ShowGroupPanel="True"
                            AlternationCount="2"
                            CanUserFreezeColumns="False"
                            IsReadOnly="False">
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Area}" Header="Area (m²)" DataFormatString="n2" />
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Coe}" Header="Coe" DataFormatString="n2" />
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>

Vladimir Stoyanov
Telerik team
 answered on 31 May 2018
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
InlineAIAssistant
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?