Telerik Forums
UI for WPF Forum
1 answer
200 views

WPF RadGridView GridViewSelectColumn: count of item selected

 

How to get the count of items that are checked by GridViewSelectColumn check box

Vladimir Stoyanov
Telerik team
 answered on 23 Dec 2019
4 answers
433 views

Hi,

I've implemented a RadWindow.Confirm() box with custom 'Ok' functionality and it works fine. However, I'm having a problem with the confirmation box disappearing behind the main application window when I click to any window behind the main application window. To be more clear, say I have windows A and B. B is the main application window, A is Outlook (nothing to do with my application). When I display a confirmation box in window B, it shows fine. Now, if I click on window A, without making a selection in the confirmation box, both window B and the confirmation box disappear. Good so far. Now, if I select window B from the task bar, window B is displayed, but the confirmation box is not. Window B is no longer responsive until I action the confirmation box which I have to ALT-TAB to get to.

Is this a bug or is there some configuration I can use to ensure it always stays on top of my application window?

Thanks

Vladimir Stoyanov
Telerik team
 answered on 20 Dec 2019
2 answers
198 views

Is is possible to have more than one editor on a page? 

When I add 3 like in the example below I can only interact with the first one. 

By the way, this is a great new control, thank you for adding it. 

01.<ScrollViewer>
02.    <StackPanel>
03.        <Grid Margin="0,4">
04.            <Grid.RowDefinitions>
05.                <RowDefinition Height="Auto"/>
06.                <RowDefinition Height="*"/>
07.            </Grid.RowDefinitions>
08.            <TextBlock Grid.Row="0" Text="Custom PowerShell"/>
09.            <telerik:RadSyntaxEditor x:Name="PsEditor" Grid.Row="1" MinHeight="400" />
10.        </Grid>
11. 
12.        <Grid Margin="0,4">
13.            <Grid.RowDefinitions>
14.                <RowDefinition Height="Auto"/>
15.                <RowDefinition Height="*"/>
16.            </Grid.RowDefinitions>
17.            <TextBlock Grid.Row="0" Text="Custom JavaScript"/>
18.            <telerik:RadSyntaxEditor x:Name="JsEditor" Grid.Row="1" MinHeight="400" />
19.        </Grid>
20. 
21.        <Grid Margin="0,4">
22.            <Grid.RowDefinitions>
23.                <RowDefinition Height="Auto"/>
24.                <RowDefinition Height="*"/>
25.            </Grid.RowDefinitions>
26.            <TextBlock Grid.Row="0" Text="Custom CSS"/>
27.            <telerik:RadSyntaxEditor x:Name="CssEditor" Grid.Row="1" MinHeight="400" />
28.        </Grid>
29.    </StackPanel>
30.</ScrollViewer>
Richard
Top achievements
Rank 2
Iron
Veteran
Iron
 answered on 20 Dec 2019
3 answers
816 views

Hi!
I need to configure textBlock wrapping  in a custom style for GridViewCell in GridViewDataColumn. How to do this?

Style:

<Style x:Key="GridViewCellWrapping" TargetType="TextBlock">

        <Setter Property="TextWrapping" Value="Wrap"/>

</Style>

Use style:

<telerik:RadTreeListView.Columns>

<telerik:GridViewDataColumn Width="*" CellStyle="{StaticResource GridViewCellWrapping}"    

  Header="{x:Static strRes:Resources.txtSpecification}" DataMemberBinding="{Binding Description}"/>

</telerik:RadTreeListView.Columns>

 

And it doesn't work.

 

Dinko | Tech Support Engineer
Telerik team
 answered on 20 Dec 2019
2 answers
193 views

WPF RadGridview filtering on load throws exception. When Grid is loaded but not bound to any data, we get following error:

 

Object reference not set to an instance of object. the column cannot be filtered.  

the column cannot be filtered. 

A column without EffectiveFilteringType cannot supply AvailableFilterOperators

 

 

filtering works when data is loaded though

Dilyan Traykov
Telerik team
 answered on 20 Dec 2019
1 answer
110 views

I plan to use WPF (VS2013).

It seems Binaries folder doesen't have Telerik.Windows.Themes.*.dlls.

Can you share some material to explain the difference between these two sets of binaries?

 

Martin Ivanov
Telerik team
 answered on 20 Dec 2019
15 answers
660 views

Hi, 

 

 

I'm new to Telerik and I use a trial version of telerik devcraft.

I'd like to use a Desktop Alert in VB.Net and WPF but I don't know how, and I don't find any documentation for it. Can you explain me how to use it ?

 

 

Thanks,

Clément.

Dawid
Top achievements
Rank 1
 answered on 20 Dec 2019
2 answers
186 views

Hi All,

is there a way to configure the dropdown caledar to show additional months like in the attached picture?

Thank you

Regards,
Wolfgang

Wolfgang
Top achievements
Rank 1
 answered on 19 Dec 2019
11 answers
361 views

Switching from "ExportToXlsx" to "SpreadStreamExportFormat" but not clear on how to use the select item feature to export only items selected.

code I currently have: --

       void OnExportDataCommandExecute(RadGridView param)
        {
            string fileFormat = "xlsx";
            GridViewSpreadStreamExport spreadStreamExport = new GridViewSpreadStreamExport(param);
            spreadStreamExport.SheetName = "Sheet1";
            spreadStreamExport.ExportFormat = SpreadStreamExportFormat.Xlsx;
            var dialog = new SaveFileDialog()
            {
                DefaultExt = fileFormat,
                Filter = string.Format("(*.{0})|*.{1}", fileFormat, fileFormat)
            };
            if (dialog.ShowDialog() == true)
            {
                switch (fileFormat)
                {
                    case "xlsx":
                        spreadStreamExport.RunExport(dialog.FileName.ToString(),
                            new SpreadStreamExportRenderer(),
                            new GridViewSpreadStreamExportOptions()
                            {
        
        ShowColumnHeaders = true,
                                ShowColumnFooters = true,
                                ExportDefaultStyles = false,
                            });
                        break;
                    case "pdf":
                        //param.ExportToPdf(stream);
                        break;
                }
            }
        }

--

I see not method for include selected.item or such.

herb
Top achievements
Rank 1
Veteran
Iron
 answered on 18 Dec 2019
3 answers
193 views

hi

how can i change cells fontfamily and fontsize?

in UI and code behind

Dilyan Traykov
Telerik team
 answered on 18 Dec 2019
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?