Telerik Forums
UI for WPF Forum
1 answer
120 views
Hallo Telerik-Team,

in our application we want to display empty rows in the ScheduleView. These rows are readonly and will have a special look.
My idea was to create a special kind of Resource (SpacerResource) with a custom style. This works fine and I can add them between the other resources to insert the empty rows. I also generate a readonly SpacerSlot to which I add all the SpacerResources. A custom SpecialSlotStyleSelector is used to display the empty rows the way we want. This also works fine.

Now for the problem: If no SpacerRow is added to the resources and therefore the SpacerSlot.Resources list is empty, drag&drop of our Appointments does not work anymore. Note that the SpacerSlot is always added to the list of special slots, even when no SpacerResource instances exist. If I add a SpacerResource and "register" it in the SpacerSlot, the drag&drop works again. The ScheduleView is used in TimeLineView only.

To me this seems to be a bug. Would you please tell me if I do something wrong or if this is indeed an incorrect behavior?

The special slot is created like this:
01.public static Slot GenerateSpacerSlot(DateTime viewportStart, DateTime viewportEnd)
02. {
03.   return new Slot()
04.   {
05.    Start = viewportStart.StartOfDay(),
06.    End   = viewportEnd.EndOfDay(),
07.    IsReadOnly = true,
08.    TimeZone = TimeZoneInfo.Utc,
09.    RecurrencePattern = new RecurrencePattern(
10.        null,
11.        RecurrenceDays.EveryDay,
12.        RecurrenceFrequency.Weekly,
13.        1,
14.        null,
15.        null)
16.   };
17.}

The parameters define the current viewport displayed. StartOfDay() and EndOfDay() are custom extension methods.


Regards,

Hendrik 
Kalin
Telerik team
 answered on 19 Jan 2015
1 answer
119 views
Hi,

I've been playing with the online demo and the trial version of the RadSpreadSheet. It looks great, but the only thing that is making me a little reserved about possibly purchasing the product is that I can't seem to copy a RadSpreadsheet with all of it's formatting to an Excel spreadsheet. It will only paste as Text in the Excel spreadsheet with no formatting. I even tried in the online demos, and it still didn't work. Is there any way to paste a RadSpreadsheet with all of it's formatting to an Excel spreadsheet retaining all of the RadSreadsheet's formatting?

Thanks,
Roman
Anna
Telerik team
 answered on 19 Jan 2015
2 answers
333 views
Hello

Where can I find older dll files from UI For WPF package?
Pawel
Top achievements
Rank 1
 answered on 19 Jan 2015
3 answers
51 views
GridView V2014.1.0428.45

So I have the following GridViewDataColumn.  Everything was working fine with the editing binding until I added the DataMemberBinding to the GridViewDataColumn header to facilitate sorting.

<telerikGrid:GridViewDataColumn IsReadOnly="{Binding Data.IsReadOnly, Source={StaticResource bindingProxy}}"
                                                            Header="Public Domain" HeaderCellStyle="{StaticResource GridViewHeaderCellStyle}" Width="100"
                                                            DataMemberBinding="{Binding PublicDomain}">
                                <telerikGrid:GridViewDataColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock Text="{Binding PublicDomain}" />
                                    </DataTemplate>
                                </telerikGrid:GridViewDataColumn.CellTemplate>
                                <telerikGrid:GridViewDataColumn.CellEditTemplate>
                                    <DataTemplate>
                                        <TextBox Text="{Binding PublicDomain, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                                 PreviewTextInput="PublicDomainTextBox_PreviewTextInput" />
                                    </DataTemplate>
                                </telerikGrid:GridViewDataColumn.CellEditTemplate>
                            </telerikGrid:GridViewDataColumn>

Once I added the DataMemberBinding to the ColumnHeader, now when I navigate out of this cell on the Grid, I get an additional set to PublicDomain that sets it back to null, no matter what the user has typed into the TextBox.  I've verified that taking out the DataMemberBinding returns things to working.

My understanding was that adding that DataMemberBinding shouldn't change the behavior of the CellEditTemplate.  Is there something else that's been done wrong here that could be causing the binding to not work properly once DataMemberBinding is set?

Thanks.

Dimitrina
Telerik team
 answered on 17 Jan 2015
3 answers
262 views
Hello,

Currently I am trying to use implicit styles with the RadDocking control but I am having an issue with the dragged floating windows.  When I attempt to drag a pane to move it elsewhere on the UI it goes invisible as soon as I start the drag.  When I drag the cursors around the screen I still get the compass appearing as if to dock at a specific direction.  Then when I drop them at one of the targets it rehosts the radpane but now without a header and can no longer drag it.  

I am trying to start with the default style then modify it to fit my UI requirements but I can't even get the untouched style to work right.

Additional Information:
1. I am using an MVVM approach.  I have a list of objects that is bound to the PaneSource and the RadDocking control is creating the correct number of segments according to the bound list.
2. I am using the No Xaml dlls provided.
3. I have copied the necessary xaml files into project and have them referenced in a merged resource dictionary inside my user control.  (I have not modified these)
     a. System.Windows.Xaml
     b. Telerik.Windows.Controls.xaml
     c. Telerik.Windows.Controls.Docking.xaml
     d. Telerik.Windows.Controls.Navigation.xaml
4. I am using the Q1 2014 version of the control.  

Nasko
Telerik team
 answered on 16 Jan 2015
2 answers
216 views
I've created a small application with a View and ViewModel.

In the view a PropertyGrid is used it  edit the properties from the ViewModel based on data annotations.

The ViewModel contains two properties:
    “SelectedBrand”            - the currently selected brand
    “Brands”                        - a list of all available brands.

The PropertyGrid should provide a ComboBox to edit the “SelectedBrand” and should hide the “Brands”.

So I’ve annotated “Brands”  with a “Browsable(false)” and “SelectedBrand” with a “Editor(typeof(RadComboBox))” attribute.

This works so far quite well.

Now here’s the catch: How do I tell the editor, that the “Brands” should be used as ItemsSource for  the ComboBox ?

Right now the combo box is just empty.

Thanksin advance
Stefan
Telerik team
 answered on 16 Jan 2015
3 answers
411 views
Hi All,
i am not able to find a find a load on demand combobox in wpf that populates itself depending on what is typed in the combobox.
Can anyone help me out...
Kalin
Telerik team
 answered on 16 Jan 2015
3 answers
144 views
Hello, two questions in one thread:

1. Is there any way to get real-time changes in VisiblePeriodStart and VisiblePeriodEnd?

2. I have a TimeBar whose PeriodEnd changes several times a second, and double-clicking to maximize the TimeBar's visible period doesn't cause the TimeBar to keep up with new PeriodEnd changes. Is there any way to set the TimeBar to auto-expand its visible period in code-behind?

Thank you!
Martin Ivanov
Telerik team
 answered on 16 Jan 2015
3 answers
162 views
Hi, 
I have a problem with using RichTextBox's context menu on computer with touchscreen.
When i use right button of mouse or right button of touchpad it works fine but when i use stylus the context menu not shows. 
When i holding stylus on a RichTextBox context menu Circle appears but no context menu shows up.

I use Windows 7 OS.

Please help.
Svetoslav
Telerik team
 answered on 16 Jan 2015
4 answers
275 views
Hello
I have problem with compressed pdf which use CCITTFaxDecode image.
I have read that Telerik not fully implement CCITTFaxDecode and I tried to code my own decoder but I never enter in my function because CCITTFaxDecode image was ignore. I have no error and I never enter in my decoder. 
I use Q1 2014 and I tried Silverlight Demo on your site and I have the same result.
Have you an idea ?
Thanks

PS : How join a pdf example ?
Olivier
Top achievements
Rank 1
 answered on 16 Jan 2015
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
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
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
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?