Telerik Forums
UI for WPF Forum
0 answers
132 views

I have 2 date pickers, when the first one is changed, it updates the next datepicker.

 

When I manually change the first date and press tab, it updates the date picker correctly but when I try to select a date, it is showing the wrong month.

 

http://imgur.com/a/IuacF

band
Top achievements
Rank 1
 asked on 12 Apr 2017
1 answer
143 views

Hi,

it is possible to protect a worksheet to prevent from changing cell values but still has ability to resizing columns ?

With unprotected worksheet I can change width of columns.

Thanks.

Tanya
Telerik team
 answered on 12 Apr 2017
1 answer
183 views

Hello i would like to know if there is a way to put the borders of the MapPinPoint bolder than 1, no matter what value y put to BorderThickness , it is always 1. Thanks for advance.

 

<DataTemplate x:Key="PinPointTemplate">
            <telerik:MapPinPoint telerik:MapLayer.Location="{Binding Path=Location}" 
                                 Background="{Binding Background}"
                                 BorderBrush="{Binding Border}"
                                 BorderThickness="2" 
                                 Width="13" Height="13">
                <ToolTipService.ToolTip>
                    <ToolTip Content="{Binding Path=Caption}"/>
                </ToolTipService.ToolTip>
            </telerik:MapPinPoint>

        </DataTemplate>

Lance | Senior Manager Technical Support
Telerik team
 answered on 12 Apr 2017
1 answer
279 views

I am successfully using Print Preview with GridView using RadSpreadSheet.  The defaults in the Print Dialog box are completely wrong for my application but I can find no resources that say how to change these defaults.

Can someone please direct me to some sample code that shows how to change the print setting defaults?

Stefan Nenchev
Telerik team
 answered on 12 Apr 2017
12 answers
2.3K+ views

Hi,

I want to display the row number as Excel.

Adding a number column is not a solution because this will cause many

other problems. Thanks.

 

Stefan
Telerik team
 answered on 12 Apr 2017
4 answers
185 views

In viewing the RadGridView, my columns are totaling into the footer as expected.  When I Print, though, the footer appears but all columns are blank. I am using ToPrintFriendlyGrid.

I've found old posts that addressed this issue but nothing lately.

Can you help?

Thanks!

Lloyd Johnson
Top achievements
Rank 1
 answered on 12 Apr 2017
2 answers
498 views

Foregroundcolor color of telerik rad progressbar not changing when I set the isindeterminate=true

 <telerik:RadProgressBar x:Name="myProgressBar" Minimum="0" Maximum="100"   Grid.Row="1"
     IsIndeterminate="True"   Foreground="white" HorizontalAlignment="Stretch"  VerticalAlignment="Center"  Margin="5" >
                              

But the color is showing blue..

Peshito
Telerik team
 answered on 12 Apr 2017
1 answer
327 views

Hi, 

I have strange behaviour which is different from the current demo.

I have a bound grid with SelectionMode=Extended.  I can Ctrl-Click to select a 'n' number of rows and the select as expected.  But if I then single left click on anyone of those selected rows, I would expect that row to become the only selected row.  Now that is what happens in the demo, but for me, all my selected rows remain selected.

I was using version 'WPF Q2 2013 SP 1', but then tried a newer version that I had access to via our account 'UI for WPF Q1 2015', but the problem remains.

My grid markup is as follows - any thoughts very much appreciated.  I have looked and tried numerous things after reading similar style threads here, but nothing is helping.

<telerikGridView:RadGridView                                                 
                            HorizontalAlignment="Stretch" 
                            Margin="3"
                            Grid.RowSpan=" 2"
                            MinHeight ="50"
                            Height="Auto"
                            x:Name="radStandardGrid"
                            VerticalAlignment="Stretch"
                            AutoGenerateColumns="False" 
                            ShowGroupPanel="False"
                            CanUserInsertRows="False"
                            CanUserDeleteRows="False"
                            CanUserReorderColumns="False"
                            HorizontalContentAlignment="Stretch"
                            ScrollViewer.IsDeferredScrollingEnabled="True"
                            ScrollViewer.VerticalScrollBarVisibility="Auto"
                            ScrollViewer.HorizontalScrollBarVisibility="Auto"
                            VirtualizingStackPanel.IsVirtualizing="True"
                            VirtualizingStackPanel.VirtualizationMode="Recycling"
                            RowIndicatorVisibility="Collapsed"
                            CanUserFreezeColumns="False"
                            AreRowDetailsFrozen="False"
                            IsEnabled="True"
                            IsReadOnly="True"
                            ItemsSource="{Binding VirtualGridView}"
                            Sorting="radStandardGrid_Sorting"
                            SelectionChanging="radStandardGrid_SelectionChanging"
                            ScrollMode="Deferred"
                            RowActivated="radStandardGrid_RowActivated"
                            Keyboard.PreviewKeyDown="StandardGrid_PreviewKeyDown"
                            Keyboard.PreviewKeyUp="StandardGrid_PreviewKeyUp"
                            MouseRightButtonUp="StandardGrid_MouseRightButtonUp"
                            SelectionMode="Extended"
                            RowStyle="{StaticResource UnfocusedGridViewStyle}">

Mark
Top achievements
Rank 1
 answered on 12 Apr 2017
4 answers
199 views

Good afternoon. How can I set the Binding Path for primitives:BackgroundGrid.LineStroke? Now I'm trying to do so

primitives:BackgroundGrid.LineStroke="{Binding Path=SelectedColorGrid, ElementName=GridColorEditor, Mode=TwoWay, Converter={StaticResource customColorToBrushConverter}}"

it's not working. For example, it works as

primitives:BackgroundGrid.CellSize="{Binding Path=CellSize , Mode=TwoWay}"   

My XAML code:

   <StackPanel Orientation="Horizontal" Margin="10 0">
                                                <CheckBox x:Name="ShowGridCheckBox" Content="{x:Static res:Resources.ShowGrid}" Width="110"
Margin="0 0 20 0" IsChecked="{Binding Path=GridEnable, Mode=TwoWay}"
Foreground="{telerik:Windows8Resource ResourceKey=StrongBrush}"
VerticalAlignment="Center" />
                                                <telerik:RadDropDownButton Width="80" DropDownWidth="210"
HorizontalContentAlignment="Right" FlowDirection="RightToLeft"
DropDownButtonPosition="Left">
                                                    <Border Width="12" Height="12" Margin="2 3"
Background="{Binding SelectedColorGrid ,Mode=TwoWay, ElementName=GridColorEditor, Converter={StaticResource customColorToBrushConverter}}"
BorderBrush="#d6d4d4" BorderThickness="1" />
                                                    <telerik:RadDropDownButton.DropDownContent>
                                                        <telerik:RadColorEditor x:Name="GridColorEditor" FlowDirection="LeftToRight"
ActiveSections="SaturationValuePad, HuePad" HistoryCapacity="8"
SelectedColor="{Binding SelectedColorGrid ,Mode=TwoWay, Converter={StaticResource customColorToBrushConverter}}" />
                                                    </telerik:RadDropDownButton.DropDownContent>
                                                </telerik:RadDropDownButton>
                                            </StackPanel>

 

<StackPanel Orientation="Horizontal" Margin="10 12 10 0">
                                                <TextBlock Text="{x:Static res:Resources.Cell}" Width="90" Margin="20 0" VerticalAlignment="Center" />
                                                <TextBox Width="80" Text="{Binding CellSize, Mode=TwoWay}" />
                                            </StackPanel>

 

where SelectedColorGrid and CellSize  its:

  public Size CellSize

        {
            get
            {
                Globals.Project.CellSize = cellSize;
                if (cellSize == new Size(0, 0))
                { cellSize = new Size(20, 20); }
                return this.cellSize;
            }
            set
            {
                if ((this.cellSize != value)&&(value!= new Size(0, 0)))
                {
                    this.cellSize = value;
                    this.OnPropertyChanged("CellSize");
                }
                else if ((cellSize == new Size(0, 0))|| (value == new Size(0, 0)))
                { cellSize = new Size(20, 20); }
            }
        }

        public Color SelectedColorGrid
        {
            get
            {
                Globals.Project.SelectedColorGrid = _selectedColorGrid;
                return this._selectedColorGrid;
            }
            set
            {
                if (this._selectedColorGrid != value)
                {
                    this._selectedColorGrid = value;
                    this.OnPropertyChanged("SelectedColorGrid");
                }
            }
        }

Svyatoslav
Top achievements
Rank 1
 answered on 12 Apr 2017
0 answers
112 views

Hi,

Two rows in the attached file have error. If I use mouse select them, the color

of the row will not change. I set ValidatesOnDataErrors="InViewMode".

Thanks.

 

Gaoming
Top achievements
Rank 1
 asked on 10 Apr 2017
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?