Telerik Forums
UI for WPF Forum
3 answers
458 views

In one of our applications, we want to restrict access to a configuration page.

Throughout the application, we are using RadWindow.Alert, Confirm and Prompt as our UI messaging system.

We don't need a crazy overdoing of security to restrict the configuration page, but it would be nice if we could change the TextBox of the RadWindow.Prompt to be a PasswordBox so the contents of the box are not visible to anyone looking at the screen.

Is there any way to do this? I would rather stay with the consistent look/behavior of using the RadWindow since we are already using it in several other places.

Thanks!!

Paul

 

Martin Ivanov
Telerik team
 answered on 23 Feb 2018
1 answer
100 views

Hello,

I am trying to spellcheck certain controls in our project. However, whenever I make a call to RadSpellChecker.Check(this.textBox1, SpellCheckingMode.WordByWord), the corresponding spell checking window does not seem to load/open properly (there is just a transparent footprint of the window). Our project uses implicit themes  and we suspect this is causing the problem. On a small test project (no implicit themes), the RadSpellChecker seems to work fine. Thank you.

Tanya
Telerik team
 answered on 23 Feb 2018
5 answers
332 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
302 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
188 views
Hello!

I am interesting if there is RadPanorama for WPF?
Alexander
Top achievements
Rank 1
 answered on 22 Feb 2018
9 answers
399 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
556 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
251 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
288 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
253 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?