Telerik Forums
UI for WPF Forum
1 answer
237 views

Hello!

I have a grid, one column is for edit different data:

 <telerik:GridViewDataColumn
                                                Width="*"
                                                CellTemplateSelector="{StaticResource TypeCellTemplateSelector}"
                                                DataMemberBinding="{Binding Value}"
                                                Header="Value" />

TypeCellTemplateSelector chooses DataTemplate:

 <templateSelect:SettingCellTemplateSelector.ComboBoxTemplate>
                    <DataTemplate>
                        <telerik:RadComboBox
                            DisplayMemberPath="Description"
                            ItemsSource="{Binding Value.EnumValue, Converter={StaticResource ValueToEnumConverter}}"
                            SelectedItem="{Binding Value.Value, Mode=TwoWay}"
                            SelectedValuePath="Value" />
                    </DataTemplate>
                </templateSelect:SettingCellTemplateSelector.ComboBoxTemplate>

ValueToEnumConverter reterns collection, 

BUT when it shows RadComboBox is empty

please can You help me?

Vladimir Stoyanov
Telerik team
 answered on 04 Jul 2018
7 answers
528 views
Hi ...
Am Totally new to this RadControls.......
I created a simple project noting is there in it ,i just added a RadRibbonBar Control to it and Build it then these errors camed
i cant understanding wat to do??
i followed this blog actually..
http://blogs.telerik.com/evanhutnick/posts/10-05-03/using_radribbonwindow_with_radribbonbar_for_wpf.aspx

Error   1   The tag 'RadRibbonWindow' does not exist in XML namespace 'clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.RibbonBar'. Line 3 Position 5.

Error   2   The type 'telerikRibbon:RadRibbonWindow' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. 

Error   3   The type or namespace name 'RadRibbonWindow' does not exist in the namespace 'Telerik.Windows.Controls' (are you missing an assembly reference?)  

  Plz help me wat to do ???

Thanks in Advance..
Martin Ivanov
Telerik team
 answered on 04 Jul 2018
8 answers
203 views

In the program code, I create a Radpane and add it to a RadPaneGroup. The user can close the RadPane and open it in the RadRibbon Menu.

How can I realize that a RadPane is only opened once?


Harald
Top achievements
Rank 2
 answered on 03 Jul 2018
5 answers
243 views

Assuming the following view model. How do I bind the VisibleItems collection to the RadGridView? One-Way binding would be sufficient, as I would deactivate any filtering from the UI side. Performance is important.

public class ViewModel
{
    public ObservableCollection<Item> AllItems { get; set; }
    public ObservableCollection<Item> VisibleItems { get; set; }  
}
  
public class Item
{
    public string Name { get; set; }
}

​Cheers,

Jan

 

Ivan
Top achievements
Rank 1
 answered on 03 Jul 2018
5 answers
1.1K+ views
Hi,

I am usin RadNumericUpDown for editing of year, but i have problem with thousands separator. my problem is, that year is displayed as 2 014 (with whitespace), but I need 2014. Is there any way how to achieve that?

Thank you.
Martin Ivanov
Telerik team
 answered on 03 Jul 2018
1 answer
119 views

Hello,

I've written a custom selection behavior in order to support un-selecting points when clicking on an empty (non-Data Point) area of the chart. This behavior works pretty nicely. However, as soon as the chart is zoomed or panned in any direction, the click ends up selecting a point to the upper-left of where I actually clicked. The main algorithm of the click selection is below. Is there a specific pan/zoom offset that I'm supposed to take into account?

var rect = new Rect((myMouseButtonEventArgs.GetPosition(this.Chart as IInputElement), new Size(myHitTestMargin));
if(this.Chart is RadCartesianChart)
{
    var chart = this.Chart as RadCartesianChart;
    var points = chart.Series.SelectMany(s => s.HitTestDataPoints(rect)); //-- this returns the wrong set of points when zoomed or panned
    //-- Create a new arguments object with these points and invoke a custom event with those args
}

Seth
Top achievements
Rank 1
 answered on 02 Jul 2018
2 answers
160 views

I have a couple questions regarding the use of RadPivotFieldList with a LocalDataSourceProvider:

1) When I try to add a CalculatedField to the LocalDataSourceProvider at runtime, RadPivotFieldList does not refresh unless I change the ItemsSource (by setting it to null and back to the previous items source). Is there any other way to refresh the list?

2) Is there a way to automatically expand Container Nodes in RadPivotFieldList? I tried using an implicit style targeting TreeGridRowGroupHeader but it is not working.

Thanks,

Gian Paolo

Martin Ivanov
Telerik team
 answered on 02 Jul 2018
4 answers
350 views

Hello ,

             I am new to telerik tool and upgrading the old asp.net application to WPF browser application which extensively uses the grid view control.

             I am trying to replicate following functionality from old application to new application and not sure what is the best approach and how to do it .

             1.Grid view is binded to database object and  based on the certain value present in particular field I need to show the edit button in each row, If that value    is not present then I need to hide the button.

             2. On click of this edit button, I need to show the update and cancel button in place of edit button as well as show the combo box with selections in different column (only this column need to be editable).

 

Thanks

Andy

 

            

Martin Ivanov
Telerik team
 answered on 02 Jul 2018
4 answers
520 views

Hi,

I'm trying to pass the window object of a window type RadWindow as command parameter to the code behind - however not RadWindow will be passed, but some helper windows classes of type WindowHostWindow.

The XML look like this:

<telerik:RadRibbonButton Text="Speichern"
                                             AllowDrop="True"
                                             LargeImage="..\Images\save.png"
                                             Size="Large"
                                             telerik:ScreenTip.Title="Speichern"
                                             telerik:ScreenTip.Description="Einen neuen Task anlegen."
                                             telerik:KeyTipService.AccessText="S"
                                             IsEnabled="{Binding CanSave}"
                                             Command="{Binding SaveCommand}"
                                             CommandParameter="{x:Reference Name=taskwindow}"
                                             IsDefault="True"/>

 

The Code behind(implementation of the command):

private void SaveProcess(object obj)
{

...

RadWindow wnd = (RadWindow)obj; <= this cast already fails as some helper class will be passed instaed of the expected RadWindow

 

Using the "normal" Window class instaed of the Telerik one, the code runs without any issues.

 

Looking forward to your answer.

 

Thanks,

Joachim

 

 

 

Joachim
Top achievements
Rank 1
 answered on 02 Jul 2018
5 answers
209 views
Hi,

I have a docking with some tabPane that I dedock and maximize in a second monitor. When I minimize my application and then maximize it, the tabPane isn't maximized anymore. Is there a way to fix this problem ?

Thank you,

Etienne
Kalin
Telerik team
 answered on 02 Jul 2018
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
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?