Telerik Forums
UI for WPF Forum
4 answers
245 views
Hi,

how do I highlight a part of a text in a GridView-Column? My Text is for example: "This Car (BMW) is perfect" and i want to highlight "BMW", because
it's the searchstring. The seaeched text should get a yellow background!
I use an observalecollection bound on the GridView. 

Thanks a lot
Best Regards
MJ
Dimitrina
Telerik team
 answered on 28 Feb 2014
3 answers
690 views
Hello,

I have implemented implicit themes using the Merged Dictionary approach documented on your help site. For changing themes, I clear the application merged dictionary then re-add the dictionaries for the new theme. This works fine, but for many of our controls we also need to apply other styles. We used the 'BasedOn' property of the style like below:

<Style TargetType="telerik:RadComboBox" BasedOn="{StaticResource RadComboBoxStyle}">
     <Setter Property="Padding" Value="5" />
</Style>

When the merged dictionary gets cleared and the new theme applied, it seems that some of these controls using BasedOn do NOT get updated properly. My guess would be that since it's a StaticResource, it will not get updated when the merged dictionary is reset.

Do you guys know of any workaround or a fix for this?

Thanks
Vanya Pavlova
Telerik team
 answered on 28 Feb 2014
33 answers
313 views
Hi Everyone,

we are using RadGridView one column with checkbox:
 <telerik:GridViewSelectColumn/>
 Please see the image for for sample application.

Test case : Here i want to add assertion to CheckBox Column to check whether this checkbox checked or not.
CUIT thoroughgoing exception as soon in the image.

Please provide support to it.

Regards,
Rajendar.
Maya
Telerik team
 answered on 28 Feb 2014
2 answers
110 views
Hi,

Has anyone else noticed that when printing with RadRichTextBox that the headers and footers get cut or are missing when using some printers?

For example, when using my Lexmark laser printer everything prints as expected.
When using my Canon Ink Jet some pages are completely missing their headers & footers and some have part of their headers & footers missing.

I'm not very knowledgeable when it comes to the ins and outs of printers and their drivers, but it's odd that with some printers it works and others it doesn't.
My canon is capable of printing edge to edge so I can't see the page margin being the issues. Besides, the content doesn't get cropped top & bottom, but rather the left side content of the header may be missing and the right hand content may print out.

I've also noticed that when using the PDF creator tool (http://www.pdfforge.org/pdfcreator), which essentially acts as a virtual printer, I get the same strange results as if I were printing. So the PC printing the Lexmark Laser also works with PDF Creator, but the PC using the Canon Ink Jet also produces the wrong print output when using PDF creator.

Do you think this could be some kind of print driver issue?? As as I said previously, printers aren't my strong point so any guidance would be greatly appreciated.

I'm using Telerik library version 2013.1.220.40.

Many thanks,

Rob


Robert
Top achievements
Rank 1
 answered on 27 Feb 2014
3 answers
149 views
in some cases (on another axis) aggregating my values ​​over the year, I would keep the value of the last month of the year (December).

how could I do this?

Thank you very much.

Rosen Vladimirov
Telerik team
 answered on 27 Feb 2014
1 answer
160 views
I bound IsReadOnly with VM's property.
Code like this, but it's not working.

DbIsReadOnly is VM's property.

<telerik:PropertyDefinition Binding="{Binding Path=Host,Mode=TwoWay}" GroupName="dbSquidPorperties" DisplayName="{DynamicResource IP}" IsReadOnly="{Binding DataContext.DbIsReadOnly,RelativeSource={RelativeSource AncestorType={x:Type UserControl}}}"    OrderIndex="0"/>
Ivan Ivanov
Telerik team
 answered on 27 Feb 2014
1 answer
65 views
Hi,
could you make SelectedItems property as DependencyProperty? Why is this property marked as private?

Thanks for your answers.
Ivan Ivanov
Telerik team
 answered on 27 Feb 2014
8 answers
367 views
I learned how to set a RadTreeViewItem's expander style dynamically by WPF data binding, see the link below.
http://blogs.telerik.com/blogs/11-01-17/controlling-treeview-s-expanderstyle-dynamically.aspx

However, if I change ExpanderStyle to StaticResource, it doesn't work. (But it works for RadTreeView)
<Style x:Key="ContainerStyle" TargetType="telerik:RadTreeViewItem">
    <Style.Setters>
        <!--<Setter Property="ExpanderStyle" Value="{Binding MyCustomExpanderStyle, Mode=TwoWay}"/>-->
        <Setter Property="ExpanderStyle" Value="{StaticResource ExpanderStyle_3}" />
    </Style.Setters>
</Style>

​What's interesting is when I click "Clear Local Item Style", the style is applied.

How can I set an item's expander style to static resource just like the tree view?
Yanming
Top achievements
Rank 1
 answered on 27 Feb 2014
4 answers
237 views
Hi,
I want to serialize (and later deserialize) the content of the ResourceDictionary of the shape.
One Idea was to store the number of resources to serialize and store the dictionary entries as Resource_1, Resource_2, Resource_3, ...
I have to store the Key, the Value and the Type. Is there a convenient (builtin) way to do this? Or have I to convert it manually to a string and back?

Alex
Alexander
Top achievements
Rank 1
 answered on 27 Feb 2014
1 answer
105 views
I am using RadDiagram to create some rather large diagrams that often do not fit in one screen. Using the scroll bars is rather fiddly. Is there an easier way to navigate around the diagram? Something like holding the mouse button down and moving to different parts of the diagram?
Petar Mladenov
Telerik team
 answered on 27 Feb 2014
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
ProgressBar
Sparkline
LayoutControl
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
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?