Telerik Forums
UI for WPF Forum
8 answers
196 views
Is it possible to show DataAnnotation validation error on property not shown on the GridView? Maybe at the row level.  I want to show that the selected item cannot be deleted.
Alex Martin
Top achievements
Rank 1
 answered on 27 Feb 2013
1 answer
115 views
I like the sample Menu Customization in with reference WPF Demo however the sample focus only on the display. How would I got about adding Command binding to this sample?  

If I add a Command property of type ICommand to your MenuItemViewModel and can't bind to the newly added property since the MenuItemViewModel is not a Dependency object.  

Any suggestion?
Rosen Vladimirov
Telerik team
 answered on 27 Feb 2013
4 answers
356 views
WPF - V2012.3.1224.40 - VS2010

Hello,

I have programmatically added one table in another:

Table l_Table = new Table();
l_Table.LayoutMode = TableLayoutMode.AutoFit;
ownerSection.Blocks.Add(l_Table);
 
foreach (IFeatureViewModel l_Node in treeViewModel.Nodes)
{
    TableRow l_Row = new TableRow(); l_Table.Rows.Add(l_Row);
 
    Table l_InnerTable = new Table();
    l_InnerTable.LayoutMode = TableLayoutMode.AutoFit;
 
    TableCell l_InnerCell = new TableCell(); l_Row.Cells.Add(l_InnerCell);
    l_InnerCell.Borders = new TableCellBorders(0.5f, BorderStyle.Single, System.Windows.Media.Colors.Red);
    l_InnerCell.Blocks.Add(l_InnerTable);
 
    TableRow l_InnerRow = new TableRow(); l_InnerTable.Rows.Add(l_InnerRow);
 
    ....

The outer table cells have red borders and inner table cells have gray borders (see attached image).

After the inner table there is a vertical space.
How to remove this space ?

Thanks
Stephane

Stéphane
Top achievements
Rank 1
Iron
 answered on 27 Feb 2013
3 answers
89 views
I've noticed that the SDKSamples directory is no longer in the WPF source code drop as of the 2013 Q1 release.  Has that been moved to a separate download?  For some reason, I'm not seeing it anywhere..

Thanks, Dan
Vlad
Telerik team
 answered on 27 Feb 2013
9 answers
275 views

I created custom RadDataFilter , which contains dropdown list. DropDown List is OK. Now here is new requirement, I want to add telerik DateTimePicker.  DateTimePicker Bind successfully, problem is that I can’t get selected date value. Therefore FilterDesripter.value is not set.

For Combobox here is template

<DataTemplate x:Key="ComboBoxEditor">

            <telerik:RadComboBox  SelectedValue="{Binding Value, Mode=TwoWay, FallbackValue=null}"    MinWidth="100" />

        </DataTemplate>

 

But how I’ll set selectedDate Value, here is my Code.

 <DataTemplate x:Key="DateTimeEditor">

      < telerik:DatePicker MinWidth="100" SelectedDate="{Binding Value}"></my:DatePicker>

 </DataTemplate>

Rossen Hristov
Telerik team
 answered on 27 Feb 2013
1 answer
238 views
Hello,
      I use ComboBox disabled to display the data, and I want to change the appearance of ComboBox disabled, which make it look like a TextBox disabled.  Could you give me any solution to achieve the feature?

Thanks & Best Regards
James
Masha
Telerik team
 answered on 27 Feb 2013
3 answers
254 views
Hey,

I'm using and GanttView and looking for a way to use the available space dynamically. At the moment you can specify how much time is displayed and scale the time per pixel ratio (PixelLength). It would be nice to have a way of setting time/pixel to auto, so that it displays the whole visible range in the timeline part of the control.

At the moment I could only get this working by doing some kind of calculation. I need to get the RenderSize of the whole control subtract the fixed columns width to get the remaining space. Finally I have to divide VisibleRange's ticks by this number, to get the scaling right. This is not that heavy calculation but it would be cool if you could add that possibility to the component. Especially as you are forced to fix the column's size! I think there is more than one person, who would like that to be implemented.

Thank you in advance.

Best regards,
Peter Schmidt
Yana
Telerik team
 answered on 27 Feb 2013
0 answers
280 views
How do I convert the following xaml in code:

<telerik:GridViewDataColumn.CellStyleSelector>
                        <telerik:ConditionalStyleSelector>
                            <telerik:StyleRule Condition="UnitPrice > 10">
                                <Style TargetType="telerik:GridViewCell"
                                       BasedOn="{StaticResource GridViewCellStyle}">
                                    <Setter Property="Background"
                                            Value="{StaticResource AccentBrush}" />
                                    <Setter Property="Foreground"
                                            Value="{StaticResource MainBrush}" />
                                </Style>
                            </telerik:StyleRule>
                            <telerik:StyleRule Condition="UnitPrice &lt;= 10">
                                <Style TargetType="telerik:GridViewCell"
                                       BasedOn="{StaticResource GridViewCellStyle}" />
                            </telerik:StyleRule>
                        </telerik:ConditionalStyleSelector>
                    </telerik:GridViewDataColumn.CellStyleSelector>

Oliver
Top achievements
Rank 1
 asked on 27 Feb 2013
0 answers
123 views

I'm using the MVVM pattern such that I've got a comboboxColumn bound to a datasource.

My intention was whatever the user select, it should update the description of another column. At the moment it is not updating. The underlying data has changed but not refreshed.

What am I missing?

Oliver
Top achievements
Rank 1
 asked on 27 Feb 2013
5 answers
260 views
What I'd like to achieve is like these two image attachments which were created in Excel. I'd like to have two levels of X-Axis labelling. I'd also like to have clustered and stacked.

Is this possible with the Telerik WPF charting tools?
Nikolay
Telerik team
 answered on 27 Feb 2013
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
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?