Telerik Forums
UI for WPF Forum
3 answers
172 views
Hi,

I am trying to use the RadDataForm to display non-CLR based information and am having trouble finding examples of either building the form through the code behind or some other way. What we have is an object that has a collection of properties (KeyValuePairs (names, object)) which are created by the end user and displayed in a PropertyGrid through the ICustomTypeDescriptor interface.

Thanks for the help,
Greg
Pavel Pavlov
Telerik team
 answered on 22 Apr 2011
1 answer
182 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
245 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
120 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
298 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
280 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
250 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
165 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
72 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
324 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
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?