Telerik Forums
UI for WPF Forum
5 answers
156 views

Hi,

in the ScheduleView control, I fill the control with appointments and SpecialSlots from 8AM to 4PM. Using the mousewheel cause that sometime, the SpecialSlots become not visible!!! When this occured, I need to force a refresh by scrolling a little bit then the SpecialSlots become visible...

 

Demo included (rename the JPG file to ZIP)...

 

Thank's

Alain

 

Christie Admin
Top achievements
Rank 1
 answered on 29 Oct 2015
2 answers
615 views
Hello team,

I want to set the background color of a single cell in my gridview.
The bound object contains a string with the hex value of the color. The property is BackcolorHex.

<telerik:RadGridView Grid.Row="11" Grid.Column="1" Grid.ColumnSpan="4"
                     AutoGenerateColumns="False"
                     ItemsSource="{Binding WorkflowView}"
                     RowHeight="25"
                     CanUserFreezeColumns="False"
                     telerikQuickStart:ThemeAwareBackgroundBehavior.IsEnabled="True"
                     IsSynchronizedWithCurrentItem="True"
                     IsEnabled="{Binding ModelController.WorkflowHelper.IsWorkflowEditing,
                                 Converter={StaticResource InvertBoolConv}}">
    <telerik:RadGridView.Resources>
        <Style x:Key="CellBGStyle" TargetType="telerik:GridViewCell">
            <Setter Property="Background"
                    Value="{Binding Path=BackcolorHex,
                            Converter={StaticResource HexToColorConv}}">
            </Setter>
        </Style>
    </telerik:RadGridView.Resources>
 
    <telerik:RadGridView.Columns>
        <telerik:GridViewDataColumn Header="Farbe"
                                    CellStyle="{StaticResource CellBGStyle}"
                                    DataMemberBinding="{Binding Path=BackcolorHex,
                                                        Converter={StaticResource HexToColorConv}}"
                                    IsReadOnly="True"/>
 
    </telerik:RadGridView.Columns>
</telerik:RadGridView>

This is my converter function:

public object Convert(object value, Type targetType, object parameter,
                      CultureInfo culture)
{
    Brush retVal = new SolidColorBrush(Colors.White);
 
    if (value != null && value is ModelWorkflow)
    {
        myConverter conv = new myConverter();
        retVal = conv.ToBrush(((ModelWorkflow)value).BackcolorHex);
    }
 
    return retVal;           
}

The string is shown in the cell right. But the backcolor does not change. It's always white. Could you please tell me what i'm doing wrong?

Thank you very much.

Best regards from Germany!


Stefan
Telerik team
 answered on 29 Oct 2015
1 answer
270 views

Hi,

  I have a project using various Telerik controls.  The wizard set up my project so that the binaries are in the project tree like this:

<MyProjectPath>\lib\RCWPF\2015.1.401.45\

   I want to move this whole "2015.1.401.45" directory somewhere and point my references there.  That would allow me to have multiple projects reference the binaries without the need to have 83 MB of extra binaries in each project.

  If I move the files and re-point the references, I can no longer use the RadGridView.  Visual Studio 2013 just can't find it.

   Can I move the Telerik binaries and point references to the new location?  Are there any tricks involved in the process?

 

Thanks.

Yana
Telerik team
 answered on 29 Oct 2015
3 answers
87 views

Hi

This is probably a simple thing to achieve but I'm struggling to come up with the solution!

For tasks without children there is currently no expand/collapse image displayed in the tree cell as you would expect. However, for tasks without children at level 1 would it be possible to display an image - for example a simple bullet-point style image?

Many thanks

Adrian

Vladi
Telerik team
 answered on 29 Oct 2015
1 answer
346 views

I have the problem, that the filter in the Telerik RadGridView has a wrong formatting for date fields. In the grid it self they are drawn correctly. I use the format: dd.mm.yyyy

 Please take a look at the attached screenshot.

 I set the column culture like this:

GridViewBoundColumnBase column = new GridViewDataColumn();
column.Language = System.Windows.Markup.XmlLanguage.GetLanguage("de-DE");
this.IsLocalizationLanguageRespected = true; // this is the instance of the RadGridView

Thank you!

Stefan Nenchev
Telerik team
 answered on 29 Oct 2015
4 answers
1.2K+ views
Hi,
   Items listed in the RadComboBox need to be sorted Alphabetically.
   How to Alphabetically sort the RadComboBoxItems?

With Thanks,
Vinnarasi

Alan
Top achievements
Rank 1
 answered on 28 Oct 2015
1 answer
556 views

Hi,

I am looking for a working sample of using rad expander and grid splitter

a grid has several  columns, the right most can be resize and it contains horizontal  expander

 

Thanks in advance

 

Tomer

 

Dinko | Tech Support Engineer
Telerik team
 answered on 28 Oct 2015
1 answer
171 views

Hello,

 I created multiple y axis and line serieses dynamically, but the panzoombar for y axis disappear.

How can I show the panzoombar for each y axis?

Is it possible to hide the panzoombar automatically if there is no zoom, and show the panzoombar if there is zoom.

 thanks

Martin Ivanov
Telerik team
 answered on 28 Oct 2015
3 answers
1.9K+ views
Hi,
I have created a "RadControls WPF application" project ("A") and added a class-library project ("B") to it. The main window of project A contains only a userControl from project B. Project A has a reference to project B.
This project B contains some Telerik components and has references to the required assemblies.

Building the solution goes well, but when I run it, I get a file-not-found exception for the referenced Telerik assemblies. Which is correct, coz the telerik dll's aren't located in the output folder of project A, only in the output folder of project B!

I have set the "copy local" setting of the effected references explicitly to True, but with no success. I know 2 options to solve this, but I ain't sure if this is the correct way to solve my problem, since they both look a bit ugly to me:
1. Include all, in other projects used, references to the start up project as well.
2. Set the output folders of all projects to the same folder.

Or is there a better solution? What is the best way to solve this?

Regards,
Niraj
Top achievements
Rank 1
 answered on 27 Oct 2015
4 answers
222 views
Dear all,
using the RadWizardComponent i have some trouble to manage the AllowFinish property.

In my ViewModel i have a Boolean property named

public bool CanEndWizard

and on the last page i have done a regular binding as below but it doesn't work.

<!-- Last Page -->
<telerik:CompletionWizardPage
    Title="Export Model"
    x:Name="Export"
    AllowFinish="{Binding CanEndWizard}"
    HeaderTemplate="{StaticResource HeaderTemplate}"
    ContentTemplate="{StaticResource Page4ExportModelTemplate}"
    SideHeaderTemplate="{StaticResource SidebarStatusTemplate}"
    IsSideHeaderVisible="False"
    ButtonsVisibilityMode="Previous,Finish,Cancel" />

I have also tried to do the same binding on Previous Button and that binding works perfecly.

I have tried to set manually on Xaml file 

AllowFinish="False"

and doesn't work too.

I'm doing something wrong ? How can I manage properly the Enabled behaviour of that button ?
jen
Top achievements
Rank 1
 answered on 27 Oct 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
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
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?