Telerik Forums
UI for WPF Forum
5 answers
339 views

I have changed my shell to a RadWindow, the problem is I now get unable to cast to Window in the BootStrapper. Is there a way around this?

 

 

 

 

Darko
Top achievements
Rank 1
 answered on 22 Feb 2018
2 answers
313 views

Hi,

I have some problems to keep selection when using the search functionality of the Grid.

To reproduce the problem:

     - use the BoundSelectColumn of the Telerik sdk sample

     - Hit Ctrl+f to make the search box visible

     - Type 'pool' in the search box and check the 'liverpool' row

     - Clear the search box => all row are displayed and liverpool is checked That's OK

     - Type 'nal' in the search box and check the 'Arsenal' row

     - Clear the search box => all row are displayed and Arsenal is checked but liverpool is not That's KO

 

Why the search functionality is clearing the isSelected property ?

How can i keep it's value between several search ?

 

Thanks

Ced,

Cedric
Top achievements
Rank 1
 answered on 22 Feb 2018
15 answers
193 views
Hello!

I am interesting if there is RadPanorama for WPF?
Alexander
Top achievements
Rank 1
 answered on 22 Feb 2018
9 answers
418 views

I am using the very latest (as of this writing, 5-FEB-2018) Telerik UI for WPF

I just started using the RadColorPicker and saw that it draws text on the button.  I wanted just a button with the chosen color on it.  No text.   I thought it would be just some sort of simple property.  But as far as I can tell, it is not.  Now maybe it's just me but this seems almost fundamental.  Why would you force people to have text on a color selector?   

I see someone asking this very question 6 years ago  ("Why does my colour picker look like a FONT colour picker?").  But even now, six years later I still don't see any sort of simple property to do this.  Am I missing something?

    https://www.telerik.com/forums/why-does-my-colour-picker-look-like-a-font-colour-picker

I downloaded the sample solution that was in that thread .  It uses an obsolete property, so I continued following the instructions and made the adjustments recommended in the "Backwards compatibility" section  It still does not work for me

I saw another thread in which someone tried just putting a color selector inside of a RadDropDownBox.   but that solution is overkill for me.  I want to use the ColorPicker.

I've attached a picture with an example of what I *want* directly above an example of what I'm currently getting.  In the picture, the square next to "Foreground Color" is what I want.  And the square next to "Selected Color" is what I'm getting.

Is there a more up-to-date solution for this?  Or can someone at least tell me what changes to make the the default template


 

Joe
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 21 Feb 2018
1 answer
564 views

I have a GridView which has several columns. I want to click any row to bring up the row details. I don't want to use  <telerik:GridViewToggleRowDetailsColumn/>.

The reason is that it is put in the first column. What I want is to click any place in the row will show the row details. Click the row again will collapse the details. My plan is to put button in every column. So the common code in every column is 

<ItemContainerTemplate>
                                <Button Command="{Binding OpenDetailsCommand}" /                </ItemContainerTemplate>

The entire code of the RadGridView is:

<telerik:RadGridView Grid.Row="0"
                Name="clubsGrid"
                ItemsSource="{Binding Clubs, Source={StaticResource MyViewModel}}"
                AutoGenerateColumns="False"
                RowDetailsTemplate="{StaticResource RowDetailsTemplate}"
                Margin="5">
        <telerik:RadGridView.Columns>
             
            <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}">
                  <telerik:GridViewDataColumn.CellTemplate>
                          <ItemContainerTemplate>
                                <Button Command="{Binding OpenDetailsCommand}" />
                          </ItemContainerTemplate>
                  </telerik:GridViewDataColumn.CellTemplate>
            </telerik:GridViewDataColumn>
            <telerik:GridViewDataColumn DataMemberBinding="{Binding Established}"
                            Header="Est."
                            DataFormatString="{}{0:yyyy}">
                    <telerik:GridViewDataColumn.CellTemplate>
                          <ItemContainerTemplate>
                                <Button Command="{Binding OpenDetailsCommand}" />
                          </ItemContainerTemplate>
                  </telerik:GridViewDataColumn.CellTemplate>       
            </telerik:GridViewDataColumn>
            <telerik:GridViewDataColumn DataMemberBinding="{Binding StadiumCapacity}"
                            Header="Stadium"
                            DataFormatString="{}{0:N0}">
                    <telerik:GridViewDataColumn.CellTemplate>
                          <ItemContainerTemplate>
                                <Button Command="{Binding OpenDetailsCommand}" />
                          </ItemContainerTemplate>
                  </telerik:GridViewDataColumn.CellTemplate>       
            </telerik:GridViewDataColumn>
        </telerik:RadGridView.Columns>
    </telerik:RadGridView>
</Grid>

The button command is

public ICommand  OpenDetailsCommand = new DelegrateCommand<object>(OpenDetailsStackPanel);
 
private void OpenDetailsStackPanel(object parameter)
{
 
}

The question is the code doesn't reach the method. So what is wrong?

 

 


Dilyan Traykov
Telerik team
 answered on 21 Feb 2018
5 answers
258 views

We are binding data collections to a ChartView. The data collections contain measurements taken over a period of time. Those time periods (currently) are four hours, one day, one week and one month. 

When the user chooses a different time period, we refresh the collection and change some of the chart properties to make more sense (LabelFormat, LabelInterval). But because the number of measurements can vary the LabelInterval may end up causing the last gridpoint to not have a label. (I have attached screenshots of a sample showing month, week, day, and four hour renderings.

Is there any way to force the last label to show no matter how many datapoints there are?

 

<telerik:RadCartesianChart x:Name="radChart" Margin="0,0,0,0" Height="340">
    <telerik:RadCartesianChart.HorizontalAxis>
        <telerik:DateTimeContinuousAxis
            LabelInterval="{Binding ChartSettingsViewModel.LabelInterval}"
            LabelFormat="{Binding ChartSettingsViewModel.LabelFormat}"
            PlotMode="OnTicksPadded"
            >
        </telerik:DateTimeContinuousAxis>
    </telerik:RadCartesianChart.HorizontalAxis>
    <telerik:RadCartesianChart.VerticalAxis>
        <telerik:LinearAxis Title="{Binding SeriesTitle}">
        </telerik:LinearAxis>
    </telerik:RadCartesianChart.VerticalAxis>
    <telerik:RadCartesianChart.Grid>
        <telerik:CartesianChartGrid MajorLinesVisibility="Y" MajorYLineDashArray="3,4" StripLinesVisibility="Y" />
    </telerik:RadCartesianChart.Grid>
    <telerik:RadCartesianChart.Series>
        <chartView:LineSeries ItemsSource="{Binding Measurements}" Stroke="{Binding LineColor}">
            <chartView:LineSeries.ValueBinding>
                <telerik:PropertyNameDataPointBinding PropertyName="Value"/>
            </chartView:LineSeries.ValueBinding>
            <chartView:LineSeries.CategoryBinding>
                <telerik:PropertyNameDataPointBinding PropertyName="LocalDateTime"/>
            </chartView:LineSeries.CategoryBinding>
        </chartView:LineSeries>
    </telerik:RadCartesianChart.Series>
</telerik:RadCartesianChart>
Martin Ivanov
Telerik team
 answered on 21 Feb 2018
10 answers
316 views

Hi,

     I'm using the RadImageEditorUI control and when i click on the resize tool (or CanvasResizeTool) appears settings panel and indicates the size that the image will have. I do not know where that value comes from, but it does not fit the actual size of the image when I save it to a local file. I Use the same format / parameter to load the image and to save it to disk (tiff extension). I can think of two solutions: correct the value, or hide it (along with his label). And I tried to do the second option since it seems simpler, but I have not found the form. Could you help me?

 

Thank you

 

                <telerik:RadImageEditorUI.ImageToolsSections>

                    <telerik:ImageToolsSection telerik:LocalizationManager.ResourceKey="ImageEditor_Transform">
                        <telerik:ImageToolItem ImageKey="Resize" telerik:LocalizationManager.ResourceKey="ImageEditor_Resize"
                                    Command="commands:ImageEditorRoutedCommands.ExecuteTool">
                            <telerik:ImageToolItem.CommandParameter>
                                <tools:ResizeTool x:Name="resizeTool"/>
                            </telerik:ImageToolItem.CommandParameter>
                        </telerik:ImageToolItem>

                        <telerik:ImageToolItem ImageKey="Resize" telerik:LocalizationManager.ResourceKey="ImageEditor_CanvasResize" 
                                            Command="commands:ImageEditorRoutedCommands.ExecuteTool">
                            <telerik:ImageToolItem.CommandParameter>
                                <tools:CanvasResizeTool />
                            </telerik:ImageToolItem.CommandParameter>
                        </telerik:ImageToolItem>

                    </telerik:ImageToolsSection>
                </telerik:RadImageEditorUI.ImageToolsSections>

            </telerik:RadImageEditorUI>

Arquitectura EIT
Top achievements
Rank 1
 answered on 21 Feb 2018
2 answers
263 views

Hello,
I only want to display the first page of a PDF document. In addition, the vertical scrollbar should be permanently invisible. Is that possible?

Andreas Decke
Top achievements
Rank 1
 answered on 21 Feb 2018
1 answer
96 views

Hello,

I have 3 columns in my grid and need data validations in the first column.

I'm currently trying to achieve this through IDataErrorInfo.

I'm trying to trigger validation for all cells in the column when any one of the cells is updated or any row is added/deleted.

So far i could not see any generic method to make this work.

From this https://www.telerik.com/forums/trigger-grid-view-validation there is no way to do this?

Any help is appreciated.

Petar Mladenov
Telerik team
 answered on 21 Feb 2018
1 answer
103 views

Hi.

I will remove X close button from RadDocking , I tried different suggestion from web but the button still here. Can you please help me with this.

 

Martin Ivanov
Telerik team
 answered on 21 Feb 2018
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
Slider
Expander
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
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?