Telerik Forums
UI for WPF Forum
1 answer
780 views

I would like to go through every cell in a RadGridView and see if its value is equal to a string.
It should work like a find tool (ctrl + f). The user type something and I try to find what was typed in the cells. Is there anyway of doing this? Or a easiest way? 

if(text == cell.value)

{

    //do whatever I want

}

Martin
Telerik team
 answered on 28 Sep 2015
5 answers
180 views

I have problem with the RadGridView, and my own ObservableDataRowThe grid throws an exception if i click on the filter symbol in a grid. This problem occures if i bind to the following object:

RadObservableCollection<ObservableDataRow> items = new RadObservableCollection<ObservableDataRow>();
// Items will be filled with instances of ObservableDataRow instances...

The error does NOT occure if i declare the collection like this:

RadObservableCollection<DataRow> items = new RadObservableCollection<DataRow>();

But i also fill the list with instances of ObservableDataRow.

The exception: No generic method 'Select' for the type 'System.Linq-Quieryable' is with the provided type argument and arguments compatible. No type argument should be provided, if the method is not generic. (Translated from a german error message - may not the same as thrown in english.)

Using RadObservableCollection<DataRow> solved the problem, but there must be a bug.

Or did i some thing else wrong?

As an additional information, i have also created my own ObservableDataTable for creating instances of ObservableDataRow.

Thank you.

Maya
Telerik team
 answered on 28 Sep 2015
3 answers
128 views
I am using Telerik Test studio with a visual studio plugin to create tests for my wpf application. In my test, I need to input different names and types of data...using "add new - excel" as a data source, is there a specific way to code my test in order to tell the test what data to use as its source? (for example -> I created an excel file with 5 columns of data and 3 rows. "name/id/amount/style/gender". I want to use name/style for the first test and id/gender for the next test. How can I do this?)
Ivaylo
Telerik team
 answered on 28 Sep 2015
4 answers
370 views

How can I control the size of the geometry in the RadGeometryButton. I'm using Syncfusion Metro Studio 3 for my assets and the geometries do not fit inside the circle. See attached screenshots for clarification.

Sia
Telerik team
 answered on 25 Sep 2015
8 answers
886 views

I have  an extremely simple layout: A RadDocking control that contains a single RadPane. The pane will always be visible, never floated, etc. Within that are some controls, including a ScheduleView.  Like many others have asked, I want to detect when the control closed. I can see the PreviewClose event fire if I allow the pane itself to close. I also see the Close event fire if the pane is closed.

However, if I close the RadDocking control, the Close event never gets called. What am I missing? I have spent about four hours now tracking down something that should be extremely simple. If I have edited the content of my control, and click the 'x' on the RadDocking control, throw up a message warning the user of unsaved changes. If the user says 'OK', then save the form and close. If they say 'Cancel', stop the process.

For the life of me I don't see where to hook into events (OnStateChanged is the only event I see firing when the RadDocking closes, and I can delegate the event, but the RadDocking still closes).

<telerik:RadDocking HasDocumentHost="True"  HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
        <telerik:RadDocking.DocumentHost>
            <telerik:RadSplitContainer IsTabStop="True" Orientation="Vertical" x:Name="SplitContainer">
                <telerik:RadPaneGroup HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                    <telerik:RadPane CanFloat="False" CanUserPin="False" CanUserClose="True" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" IsTabStop="True" IsDragDisabled="True"> 

 ....controls ...

                    </telerik:RadPane>
                </telerik:RadPaneGroup>
            </telerik:RadSplitContainer>
        </telerik:RadDocking.DocumentHost> 

 

 

Thoughts?

Sean~

Nasko
Telerik team
 answered on 25 Sep 2015
1 answer
170 views
I am using the RadRadicalGauge in a WPF application. The user would like to see a finer resolutionof the gauges needle on the outside of the gauges location. The resolution of the gauge is marks at every 25 point but this magnify point would be more marks. I was wondering if this is possible and if so, how do I go about making this happen?  This resolution would move with the movement of the needle.
Sia
Telerik team
 answered on 25 Sep 2015
3 answers
111 views

Hi there,

 I am developing a WPF application using MVVM pattern and I need to display data in a format attached below.

The first column is for time with some interval. The time and the interval can vary so accordingly the total number of rows could be more or less.

After this I need exactly 5 more columns.

 Can you please suggest an appropriate control to fulfill my requirements.

 

Thanks

Rosi
Telerik team
 answered on 25 Sep 2015
4 answers
1.2K+ views

I would like to select a specific cell by giving the column and the row index. For exemple (Image): 

I would like to select the cell where the column index is 2 and the row index is 2 (It will select the cell where "Portugal" is written).

It should be something like myGrid.SelectCell(Columns[2], Rows[2]);

Is there any way of doing this?

Thank you,
Evelyn

Evelyn
Top achievements
Rank 1
 answered on 25 Sep 2015
6 answers
372 views
I've been working on a project based off of this example: http://www.telerik.com/help/wpf/radtreeview-how-to-wpf-windowsexplorer-like-treeview.html

Everything works except the icons don't show up. So for example, my ItemStyle for objects of type File is
<Style x:Key="FileItemStyle" TargetType="{x:Type telerik:RadTreeViewItem}">
    <Setter Property="Foreground" Value="Black"/>
    <Setter Property="FontStyle" Value="Normal"/>
    <Setter Property="DefaultImageSrc" Value="/Images/file.jpg"/>
</Style>

I can tell the style is being set, because if I change the foreground color in the style, it affects the colors of the fonts. Only the image is not showing up.

If I instead add an <Image> to the DataTemplate like this:
<DataTemplate DataType="{x:Type local:File}">
    <StackPanel Orientation="Horizontal">
        <Image Source="/Images/file.png" />
        <TextBlock Text="{Binding Name}" />           
    </StackPanel>   
</DataTemplate>

Then the icons show up no problem. So any clues about what am I doing wrong? Why doesn't the DefaultImageSrc work for me in the Style? The paths are the same in both cases so its not a problem of the icon. I've tried fiddling with thigns and nothing seems to make the DefaultImageSrc work.

FYI I'm using RadControls for WPF Q1 2013 ( v.2013.1.403.40)

Thanks!
Martin Ivanov
Telerik team
 answered on 25 Sep 2015
5 answers
165 views

When I call the RadSpellChecker control to spellcheck a textbox it is slow the first time:

RadSpellChecker.Check(txtBox, SpellCheckingMode.AllAtOnce);

Sometimes the RadSpellChecker window â€‹appears behind the parent window. Also, if I click on the application icon on the task bar, the RadSpellChecker window goes behind the parent window.  I can deal with this, but my users can't.  Is there a setting that I'm missing to set the RadSpellChecker control to be the topmost window?

Svetoslav
Telerik team
 answered on 25 Sep 2015
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
InlineAIAssistant
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?