Telerik Forums
UI for WPF Forum
1 answer
151 views
Indicator of position is still black, when applying some style for NumericUpDown. That indicator is almost not visible for dark background (See image HERE). Is it possible to change color of indicator according to color of text? 

I have got the same problem with DatePicker and DateTimePicker.
Boyan
Telerik team
 answered on 22 Apr 2011
3 answers
224 views
I want to Compare 2 columns in a a RadGridView to set the style of the cell.  I saw the example where you are comparing to a static value, but is there a way to compare it to another column.  Basically I want to see if 2 columns are equal. If not, make the font bold and red.
Maya
Telerik team
 answered on 22 Apr 2011
2 answers
109 views
I'm creating a windows explorer interface and I'd like to display checkboxes for files and not directories. If I set isOptionElementsEnabled to true it shows checkboxes next to them all. I tried setting isOptionElementsEnabled to true and then programmatically disabling the checkboxes for directories this way:

            DirectoryInfo di = new DirectoryInfo(_currentPath);
            DirectoryInfo[] directories = di.GetDirectories();
            FileInfo[] files = di.GetFiles();           
 
foreach (DirectoryInfo dInfo in directories)
            {
                RadTreeViewItem tvDirectoryItem = new RadTreeViewItem() { Header = dInfo.Name, DefaultImageSrc = "folder_icon.gif"};
                tvDirectoryItem.ItemsOptionListType = OptionListType.None;
                tvDirectory.Items.Add(tvDirectoryItem);
            }
            foreach (FileInfo fInfo in files)
            {
                //tvDirectory.IsOptionElementsEnabled = true;
                RadTreeViewItem tvFileItem = new RadTreeViewItem() { Header = fInfo.Name };
                tvFileItem.ItemsOptionListType = OptionListType.CheckList;
                tvDirectory.Items.Add(tvFileItem);
            }


but it didn't work. Is there anyway to do this outside of using two separate treeviews on top of each other?
fred williams
Top achievements
Rank 1
 answered on 22 Apr 2011
1 answer
277 views
Hello,

I have a RadDatePicker whose SelectedValue is bound to a property of an object which implements IDataErrorInfo:

<telerik:RadDatePicker

 

 

 

telerik:StyleManager.Theme="Office_Black"

 

DataContext="{Binding ReceiptDateField}"

 

SelectedValue="{Binding SelectedDate, Mode=TwoWay, ValidatesOnDataErrors=True}"

 

 

DateTimeWatermarkContent="" DisplayFormat="Short"

 

Margin="296,196,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Height="24" Width="84"/>

If validation failes the RadDatePicker only has a red border but no red triangle in the upper right corner. Therefore it's not possible to see the error info.
Could you please fix this bug.

Greetings

Heiko

Boyan
Telerik team
 answered on 22 Apr 2011
5 answers
251 views
Can anyone help with this error?

Cannot find type 'Telerik.Windows.Controls.RadContextMenu'

I get this error when attempting to load the form containing Telerik controls. It is looking for the RadDropDownButton.cs file in the InitializeComponent().

Is this an installation issue or a licensing issue? I'm currently evaluating the Telerik controls.

G
Pavel Pavlov
Telerik team
 answered on 22 Apr 2011
2 answers
232 views
I want to insert some text, like in a usual letter: the date and "Dear John,"...

I tried this:
editor.Insert(DateTime.Now.Date.ToShortDateString());
editor.InsertLineBreak();
editor.Insert("Dear John,");
...and it works fine!

Now I want to have my date at the right and John at the left.
I tried this:
editor.Insert(DateTime.Now.Date.ToShortDateString());
editor.ChangeTextAlignment(RadTextAlignment.Right);
editor.InsertLineBreak();
editor.Insert("Dear John,");
editor.ChangeTextAlignment(RadTextAlignment.Left);

But it did not work out.
I searched the web for a little bit help about ChangeTextAlignment, but could not find something usefull.
I guess I have to use paragraphs, selection...?


Rieni De Rijke
Top achievements
Rank 1
 answered on 21 Apr 2011
4 answers
150 views
Hi,

Does anyone have any advice on how I can implement a GridView so that the columns can be stacked (i.e. a row with 20 columns may have 10 across stacked two high)?
bgmania
Top achievements
Rank 1
 answered on 21 Apr 2011
4 answers
60 views
Hi!

Looks like a problem with new version of Telerik library. Following code:

GridViewColumn[] columns = new[]
            {
                new GridViewDataColumn()
                    {Header = "Test header"}
            };
 
    private void Button_Click(object sender, RoutedEventArgs e)
    {
        Grid.Columns.Clear();
        Grid.Columns.AddRange(columns);
    }


results in broken layout of column header after second button click. I think I can come up with workarounds but this seems to be a bug anyway. I have a repro solution ready if needed.

WBR,
Nikolay Ryabkov.

Nikolay
Top achievements
Rank 1
 answered on 21 Apr 2011
11 answers
303 views
The Q3 version does not appear to support mulitple column sorting when bound to a CollectionViewSource.View or DataView. When attempting to sort one column in ascending order and a second column in descending order, it does not correctly apply the second sort. This functionality had worked with the Q1 version. Has this functionality been purposefully removed?
Yordanka
Telerik team
 answered on 21 Apr 2011
6 answers
172 views
Hi,

I am using Telerik RadGridView which is implemented in a hierarchical manner in WPF Windows application.

While exporting to Excell I am getting the following error message in the Excell sheet, instead of displaying data.

[QCVG: Key=Private Capital; ItemCount=3; HasSubgroups=False; ParentGroup=[QCVG: Key=Alternatives; ItemCount=6; HasSubgroups=True; ParentGroup=[QCVG: Key=Root; ItemCount=6; HasSubgroups=True; ParentGroup=null];];];

Is there any solution to this issue.

Any quick sample code will be highly usefull to resolve this issue.

Thanks & Regards,
Hirak
Vlad
Telerik team
 answered on 21 Apr 2011
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
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
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?