Telerik Forums
UI for WPF Forum
1 answer
179 views

Hello,

We're trying to create a data paging system using the RadGridView, and are having difficulty with the filtering.
Here's the scenario. 

First, we set up the filtering mode = Filter row.

When a filter is applied, we intercept the Colum info that's being filtered in the "Grid_Filtering" event to create our Filtering information to pass back to the web services to get data.  

The issues is that the grid filters (Let's say it reduces the rows to 3), then as we call our web service to get data from the back end, which may have 10 items in the dataset.

My question is;  Are there any examples where one can gather the filter information, then prevent the internal grid from filtering, then applying our new data set?

We've cobbled it together, but it looks bad having the grid display one data set, only to have it clear out and load another.
What we're trying to do is pull the pages via webservice instead of loading the entire dataset into memory.

Dilyan Traykov
Telerik team
 answered on 28 Mar 2022
0 answers
130 views

Hello.

How to make GridViewComboBoxColumn search by DisplayMemberPath?

ItemsSource - Dictionary<Guid, string>

While searching :System.InvalidCastException Message=Invalid cast from "System.String" to "System.Guid". 


ItemsSource="{Binding Directions}"
DataMemberBinding="{Binding Direction}" 
SelectedValueMemberPath="Key"
DisplayMemberPath="Value"

IsLightweightModeEnabled="True" doesn't help 

Code in attach.

Igor.Antohin
Top achievements
Rank 1
Iron
 updated question on 27 Mar 2022
0 answers
120 views

Why does this simple task not work on radGridView when the FilterMode is FilterRow?

I put the test code below behind a button click event for what I thought was a simple 5 minute test.

Data is loaded, grid is looking good, then I click the button

 

FilterDescriptor Test = new FilterDescriptor();

 

Test.Value = "ABC";

Test.Operator = FilterOperator.StartsWith;

Test.Member = "COLUMNNAME";

 

GridTest.FilterDescriptiors.add(Test); <------------- EXCEPTION

 

This throws and exception with message "The method or operation is not implemented"

 

 

 

John
Top achievements
Rank 1
 asked on 25 Mar 2022
1 answer
206 views

Hello,

 

I'm trying to expand all parent of my XmlElement in my RadTreeView. I can't add a specific property on my binded elemnt because it's an XmlNode. I am trying to use onSelected or onSelectionChanged events but can't have a concluent result because i can't find the whole path if parent is collapsed.

 

Thank you

Genachats
Top achievements
Rank 1
Iron
 answered on 24 Mar 2022
1 answer
206 views

I have RadBarcodeQR and I want to keep the white space outside the BarCode the same in all text.

Would appreciate help

<Grid>
        <StackPanel VerticalAlignment="Center">
            <TextBox Text="{Binding QrCode, UpdateSourceTrigger=PropertyChanged}" Width="300" Height="30" Margin="20"/>
            <telerik:RadBarcodeQR
                Height="100" 
                Width="100"
                Text="{Binding QrCode, UpdateSourceTrigger=PropertyChanged}"
                Foreground="Black"
                UseLayoutRounding="True">
                <telerik:RadBarcodeQR.Style>
                    <Style TargetType="telerik:RadBarcodeQR">
                        <Setter Property="Template">
                            <Setter.Value>
                                <ControlTemplate TargetType="telerik:RadBarcodeQR">
                                    <Grid 
                                        x:Name="PART_RadBarcodeQR" 
                                        Background="White" 
                                        Margin="15">
                                        <Image x:Name="ImageQrCode" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                    </Grid>
                                </ControlTemplate>
                            </Setter.Value>
                        </Setter>
                    </Style>
                </telerik:RadBarcodeQR.Style>
            </telerik:RadBarcodeQR>
        </StackPanel>
    </Grid>

 

This is what it looks like with an empty string:

 

 

This is what it looks like with the string: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"

 

Dilyan Traykov
Telerik team
 answered on 24 Mar 2022
1 answer
348 views

Hi all,

I'm having trouble working out how to increase the thumb slide animation speed. I can't find any information online about the toggle switch animation. Any help is appreciated.

Thanks

<Style TargetType="telerik:RadToggleSwitchButton">
    <Setter Property="telerik:AnimationManager.AnimationSelector">
        <Setter.Value>
            <telerik:AnimationSelector>
                <telerik:SlideAnimation SpeedRatio="2.0"/>
            </telerik:AnimationSelector>
        </Setter.Value>
    </Setter>
</Style>
Vicky
Telerik team
 answered on 24 Mar 2022
0 answers
137 views

The RadTreeView is showing as gray text on white background. We are using implicit styles. Styles appear to show for other controls in project.

 

Telerik Dlls referenced in project:

ResourceDictionaries merged in App.xaml:

Style referenced in RadTreeView element tag:

Will
Top achievements
Rank 1
Iron
 asked on 23 Mar 2022
1 answer
98 views

Hi,

is it possible to change the opacity of the RadRibbonView GroupHeader? We want to increase the readability of the group header and we can't find any sources on how to increase the opacity.

Regards

Jan

Dilyan Traykov
Telerik team
 answered on 23 Mar 2022
1 answer
237 views

Generating the file in temp folder and given the path to the hyperlink text in RadPdfViewer. While clicking the hyperlink, the pdf file does not open. 

We are doing the same process for txt , image and etc.. It is working fine for other type of files.

Please refer the below image.

1. Image file - while clicking the hyperlink the image file directly open(file is in temp folder)

2. Pdf file - while clicking the hyperlink the pdf file does not open ( file is in temp folder)

 

 

Please suggest. how to handle this?

 

 

Tanya
Telerik team
 answered on 23 Mar 2022
1 answer
266 views

Text wrap for radcombobox in WPF which has AllowMultipleSelection:

 

<telerik:RadComboBox Grid.Column="4" Width="300" MaxWidth="300" AllowMultipleSelection="True" SelectedItem="{Binding IngredientSourceSelectedItem}" ItemsSource="{Binding IngredientSource, Mode=TwoWay }" Text="{Binding Ingredients, Mode=TwoWay}"
 IsEnabled="{Binding IsReadOnlyIngredientSource, Converter={StaticResource ReadOnlyToEnabledConverter}}" VerticalAlignment="Stretch">
</telerik:RadComboBox>

 

need like this: if it overflows it should be shown in next line.

Stenly
Telerik team
 answered on 22 Mar 2022
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
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?