Telerik Forums
UI for WPF Forum
1 answer
134 views
Dear Telerik Team,

we use the ScheduleView and have found a little problem.

When you open the calender, and look at the week numbers you will recognize that
the week numbers are always 1 Week higher than in reality.

That's why, because the calender starts in January with Week Number 2 (see attached Screenshot)

I found a post in you forum, that this ahppens because of the ISO Standard of the Culture Info

http://www.telerik.com/community/forums/aspnet-ajax/calendar/week-numbers-is-wrong.aspx


Is there any way to tell the WPF control also to use the right ISO Standard ?

best regards
Rudi
Vladi
Telerik team
 answered on 16 Oct 2012
1 answer
298 views
Dear staff, 
  A control button RadRichTextBoxRibbonUI was created to display or hide the comments.
  In the codebehind is intercepted on the click event of the button and the code is executed:

private void RadRibbonButton_Click(object sender, RoutedEventArgs e)
 {
     editor.ShowComments = !editor.ShowComments
     
 }

The code runs but the view does not update, or do not see the comments.
It 'Need to refresh particular?

Thank you!

A.
Alex
Telerik team
 answered on 16 Oct 2012
1 answer
96 views
hello,

i wanna use book control in my app, but i have a problem,

i want to add usercontrol to book control instead of image or other thing but

one page in book is small for my usercontrol,can i add my usercontrol in two page ?

Best Regards
Tina Stancheva
Telerik team
 answered on 16 Oct 2012
1 answer
116 views
In the scenario we are working with, we have a grid that displays some dynamic content, and then we have our 'help' using RadPane docked to the right.

I'm using RadDocking to host the RadSlitContainer which houses the RadPane (our help pane), but not able to get it adopt the styles I apply unless it is nested inside the DocumentHost element.

The issue is, My scroolviewer of dynamic content only seems to work with RadDocking if it is nested in the DocumentHost element, with the RadSplitContiner outside.  Reversing these produces ill results--no resizing when the dock is pinned, etc.

I've attached a screen grab of my heierachy...can someone point me in the right direction of how to properly set this up so that my dynamic content will dominate but then resize should the user pin the expanded dock on the right?

Is it normal behaviour for RadPanes to ignore assigned styles when outside of DocumentHost?

Vladi
Telerik team
 answered on 16 Oct 2012
2 answers
433 views
Hi,

I have a combobox (with checkboxes inside it) that is inside a RadToolbar. I have an issue where the combobox always closes when a checkbox is checked. I've noticed that when the combobox is not inside a Toolbar then it will stay open to allow me to select multiple checkboxes. I would like to have the CB inside the toolbar so I'm looking for a fix. Is this a bug? Is there a fix?

<telerik:RadToolBar>
    <telerik:RadComboBox Name="rcbProjectTypes"
        Width="120" Margin="3,1,0,1"
        ItemsSource="{Binding Path=RequestTypesSelection}"
        SelectionChanged="rcbShouldNotChange_SelectionChanged">
        <telerik:RadComboBox.ItemTemplate>
            <DataTemplate>
                <CheckBox Content="{Binding Path=Content}" Tag="{Binding Path=Id}"
                IsChecked="{Binding Path=IsChecked, Mode=TwoWay}"
                Checked="RequestTypesCheckBox_Checked" 
                Unchecked="RequestTypesCheckBox_Checked"/>
            </DataTemplate>
        </telerik:RadComboBox.ItemTemplate>
    </telerik:RadComboBox>
</telerik:RadToolBar>


Thanks

Peter
Top achievements
Rank 1
 answered on 15 Oct 2012
0 answers
189 views
Hello there,

I need to dynamically draw a RadDiagramShape nested in a RadDiagramShape. I need to allow user move the internal/inner RadDiagramShape (just like the outer/container RadDiagramShape can be moved within the RadDiagram). I created a custom WPF control and I set its ContentControl property as a Canvas. Then I'm adding all children to the canvas Children collection from code behind.
The problem is that the added RadDiagramShape controls can not be moved/manipulated within the nested Canvas.
How do I allow this nested RadDiagramShape to be moved?

Thanks,


javier
Top achievements
Rank 1
 asked on 15 Oct 2012
4 answers
197 views

Hi,

I'm using Telerik V2012.1.325.35 and I have a strange behaviour with my RadCarousel component.
 
In our application we have a RadGridView and beside de RadGridView we have a RadTabControl with 2 TabItems, in the first TabItem I have a RichTextBox and in the second RadTabItem I have a RadCarousel. When I click on one Item in my GridView, I load 2 images on disk, for both image, I create and object of type "InterDependencyImage" (definition at the end) and I added to my carousel using the following piece of code:

    var img = pPdf as InterDependencyImage;
    img.Image = new Image();
    img.Image.Source = img.Frame;    
    theCarousel.Items.Add(img);

When the loading images process ended, I click on my RadTabItem containing my RadCarousel and I can see my 2 images. The first one is perfectly visible but the 2nd one is blank!!! If I scroll the blank image outside the RadCarousel and I scroll it back into the view portion of the RadCarousel, I can see it perfectly now!!!

I'm I missing something???

Thank's

    public class InterDependencyImage
    {
        #region Contructors.
        public InterDependencyImage()
        {
            No = 1;
            TotalImages = 1;
            Notes = "";
            Type = "";
            PrimaryImageGUID = Guid.Empty;           
        }
        #endregion

        #region Public properties.
        public int No { get; set; }
        public int TotalImages { get; set; }
        public Image Image { get; set; }
        public BitmapFrame Frame { get; set; }
        public string Notes { get; set; }
        public string Type { get; set; }
        public Guid PrimaryImageGUID { get; set; }
        #endregion
    }

Oliver
Top achievements
Rank 1
 answered on 15 Oct 2012
4 answers
472 views

Is there a way to change the appointment item height in timeline view?

I tried with:

<Style x:Key="CategoryStyle" TargetType="telerik:AppointmentItem">
  <Setter Property="Height" Value="100" />
</Style>

and when I compile+run, the height doesn't change.

Please advise.

Vladi
Telerik team
 answered on 15 Oct 2012
1 answer
111 views
I'm having a brutal time styling the RadCalendar nested in RadDateTImePicker.

Mainly, when I follow the instructions here:

http://www.telerik.com/help/wpf/raddatetimepicker-styling-raddatetimepicker.html

The resources are not created in my ResourceDictionary as documented.  I'm simply presented with one style and control template; it appears to be using the native styles built into the control natively instead of spawning the resources in the above walk through.

I'm able to style my own header elements, but getting at the colours for the Calendar grid is where I'm stumped--it's using the 'office black' theme colours.

Any help is appreciated.

-Sheldon
Vladi
Telerik team
 answered on 15 Oct 2012
1 answer
928 views
I've looked through your forum about this but can only find half working workarounds.

Consider the following GridView:

<telerik:RadGridView ItemsSource="{Binding ItemsView}" AutoGenerateColumns="False"
        IsSynchronizedWithCurrentItem="True"
        ValidatesOnDataErrors="InViewMode" 
        EditTriggers="CellClick"
        CanUserDeleteRows="True"
        CanUserInsertRows="True">
    <telerik:RadGridView.Columns>
        <telerik:GridViewComboBoxColumn Header="Currency" 
            DataMemberBinding="{Binding CurrencyCode,UpdateSourceTrigger=PropertyChanged}" 
            ItemsSource="{Binding Path=DataContext.AllCurrencyCodes,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type UserControl}}}"
            />
        <telerik:GridViewDataColumn Header="Rate"
            DataMemberBinding="{Binding Rate,UpdateSourceTrigger=PropertyChanged,NotifyOnValidationError=True,ValidatesOnDataErrors=True}"
            />
    </telerik:RadGridView.Columns>
</telerik:RadGridView>

Here I bind to POCO objects that implement INotifyPropertyChanged. As soon as a change is detected, I light up a Save button.
However, the property does not get changed until the user steps out of the cell, thus preventing the immediate click on the save button!

There is a workaround for simple textboxes;
<telerik:GridViewDataColumn Header="Rate" 
        DataMemberBinding="{Binding Rate,UpdateSourceTrigger=PropertyChanged,NotifyOnValidationError=True,ValidatesOnDataErrors=True}"
    <telerik:GridViewDataColumn.CellEditTemplate
        <DataTemplate
            <TextBox Text="{Binding Rate,UpdateSourceTrigger=PropertyChanged,NotifyOnValidationError=True,ValidatesOnDataErrors=True}"/> 
        </DataTemplate
    </telerik:GridViewDataColumn.CellEditTemplate
</telerik:GridViewDataColumn>

However, this trick fails miserably for Date-fields, since your otherwise great date picker gets supressed. :(

I really want a fix for this, that I consider a bug. Is there any chance of that ever happening?
Dimitrina
Telerik team
 answered on 15 Oct 2012
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?