Telerik Forums
UI for WPF Forum
7 answers
343 views
I use RadGridView.

RadGridView horizontalScrollBar move GridViewComboBoxColumn displayed on the screen blanks. But verticalScrollBar no change.

What's the problem?

<telerikGridView:GridViewComboBoxColumn 
                                                Header="AccessibleTimeGroup" 
                                                DisplayMemberPath="Name" 
                                                CellStyleSelector="{StaticResource UserCardCellStyleSelector}" 
                                                DataMemberBinding="{Binding Card.AccessableTimeGroup}" ItemsSourceBinding="{Binding AccessibleTimeGroups}" />
LEE
Top achievements
Rank 1
 answered on 31 Jul 2014
1 answer
89 views
Does the RichTextBox support the "Repeat as header row at the top of each page" feature which can be found in Word? This video demonstrates the feature.

If not, any ideas on how this could be accomplished using custom code as I'm already generating the table programmatically?
Petya
Telerik team
 answered on 30 Jul 2014
5 answers
220 views
Hi,

for days I mess around with "Database Storage" - but it drives me crazy.

What I got so far was - create a daily recurring appoint and also adding an exception to it.
But here the problems start.

Lets say my original recurring appointment was at 10:00.
I move on occurrence to 9:00 - and what I get is a new Appointment (the exception) and an ExceptionDate with an ExceptionDate of 10:00.

Now I edit the series and change the start to 11:00.

I now get a new ExcpetionOccurrence (and a new Exception Appointment).
Appointment - the same as before.
Occurrence - pointing to the new exception - with an ExceptionDate of 11:00.

BUT - the old Exception as well as the old ExpceptionOccurrence still exist.

To make thing a bit more transparent - I took your xaml-sdk example an tried the same thing here.
The datamodel there is slightly different than mine - but this doesn't matter.

I can also add an appointment - and an exception.
But when I try to move the original appointment I get an exception in SqlExceptionAppointment.cs IAppointment Copy.
This method is not implemented - instead it throws an InvalidOperation Exception.

Is there a working DB example?
Or at least a documentation how data is handled?

All I found out so far is that ExceptionOccurrence is generated when I create an exception (OK so far) and that if I change the series an extra copy is generate for every existing Exception / Exception occurrence. But the old elements are neither deleted nor remove from the appointments collection.

About the DataModel - (what I think):
ExceptionAppointment - the data for an exception.
ExceptionOcurrence - a reference to the appointment as well as a DataTime for the Occurrence of the appointment which gets an override.

My Idea - Since ExceptionAppointment and ExceptionOccurrence is 1:1 I could also have one table for "all of it".
AppointmentID int (PK, auto)
MasterAppointmentID int (null)
ExceptionOcurrence DateTime (null)
Start....

So I could find Exceptions via MasterAppointmentID!=null
Find all Appointments via MasterAppointmentID==null


This would avoid a lot of cascading deletes and so far.
The only thing to solve could be (but also possible with a "start==end" or so) an exception where there should be no occurrence.
I found that such a thing results in an ExceptionOcurrence with no ExceptionAppointment.

By the way - I found no way to remove such an exception via UI.

Anyhow - a simple working example would be a good starting point.

Manfred

Kalin
Telerik team
 answered on 30 Jul 2014
1 answer
130 views
Hello,
if you're looking at the RadListBox properties in the documentation, only 4 of them are displayed!
http://www.telerik.com/help/wpf/allmembers_t_telerik_windows_controls_radlistbox.html#propertyTableToggle
Patrick
Yana
Telerik team
 answered on 30 Jul 2014
3 answers
212 views
Hi,

with the ScheduleView control, when we have 2 appointments which overlap each other, the control display both appointments side by side. I would like to know if it's possible to have the same bahavior when we have a special slot and an appointment which overlap each other???

Thank's
Alain
Konstantina
Telerik team
 answered on 30 Jul 2014
1 answer
132 views
Please see attached image. I want to be able to sort by the values in these fields. I have read all of the articles and see plenty about column group description sorting but nothing about aggregate value sorting - is this possible and if so how?

Thanks
Rosen Vladimirov
Telerik team
 answered on 30 Jul 2014
1 answer
172 views
Hi,

I have implemented Keyboard Functionality for rename,When i press F2 key for editing the node it will edit for second press or need to press and hold a sec.

Please find the below Code..

 void treeview_KeyDown(object sender, KeyEventArgs e)
        {
               if(e.Key==Key.F2)
                {
                    treeview.IsEditable = true;
                  //  e.Handled = true;
                }              
                }
       }
Please help me ASAP.

Regards,
Ranjith
Pavel R. Pavlov
Telerik team
 answered on 30 Jul 2014
4 answers
222 views
<DataTemplate x:Key="MultiComboBoxView">
   <telerik:RadComboBox ItemsSource="{Binding ValueEnum}"
                  Width="220" Height="30"
                  ItemTemplate="{StaticResource RadComboBoxItemTemplate}">
        <telerik:RadComboBox.SelectionBoxTemplate>
            <DataTemplate>
                 <TextBlock Text="{Binding SelectedItemsText}" />
            </DataTemplate>
        </telerik:RadComboBox.SelectionBoxTemplate>
    </telerik:RadComboBox>
</DataTemplate>

Hi,

My Combobox is not editable and does not have as source static items, but selectionBoxTemplate is ignored though.
I tried with hard coded string instead of a binding, but it's still been ignored.
What am I doing wrong?
Michel
Top achievements
Rank 1
 answered on 29 Jul 2014
1 answer
107 views
Hello, I would like to enquire on a solution to the scenario as per title. Below is what I have currently, which obviously doesn't work as the Drop is just 1 event itself. If I accept, everything will be accepted, and if I reject, everything will be rejected at once.

​
private void ListBoxIssue_OnPreviewDrop(object sender, DragEventArgs e)
{
    var droppedObject = DragDropPayloadManager.GetDataFromObject(e.Data, typeof(CommsItem));
    List<CommsItem> listCommsItem = ((List<object>) droppedObject).Cast<CommsItem>().ToList();
    //droppedObject is an object, which is of List<Object>, which the objects in the list are CommsItem
    foreach (CommsItem commsItem in listCommsItem)
    {
        if (commsItem.Serial == "2008")
        {
            e.Handled = true;
            e.Effects = DragDropEffects.None;
        }
        else
        {
            e.Handled = false;
            e.Effects = DragDropEffects.All;
        }
    }
}
Kalin
Telerik team
 answered on 29 Jul 2014
1 answer
201 views
Hello,

I need to split a single RadDocument across multiple pages of a report, thus multiple instances of a RadRichTextBox.  How do I paginate across pages and keep the formatting?  I have tried selecting the portion of the document that fits in one control and creating a new document from that selection, but I lose key elements of the formatting.  For instance, if I have a numbered list that crosses pages, the numbering starts over on the second page after I split it up.

Maybe there is a sample app available that would demonstrate what I am trying to do?

Thanks,

Peter
Petya
Telerik team
 answered on 29 Jul 2014
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
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
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
PasswordBox
SplashScreen
Rating
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?