Telerik Forums
UI for WPF Forum
2 answers
353 views
Hi,

I am defining the columns for a GridView in XAML and allow the users to reorder the columns. I added a context menu where the user can select to arrange the columns back in their original XAML order.

I cannot see any property that has the original display index so I was going to store this in the Tag property. I just wanted to check first if there was a better way to do this?

Thanks
Anthony
Anthony
Top achievements
Rank 1
Iron
Veteran
 answered on 05 Feb 2015
4 answers
223 views
Hi everyone!

I need to enable the user to choose between Yes or No in the RadWindow.Confirm by using the keyboard letters (to be more specific, the "S" letter to confirm and the "N" letter to cancel. This would replace the need to click the yes/no button, allowing the user to make the decision a bit faster. The buttons would still be there but the keyboard letters would be provided as shortcuts.

Is there any way I can achieve that behavior by using the RadWindow.Confirm component?

Thanks in advance,

Fred
Fred
Top achievements
Rank 1
 answered on 05 Feb 2015
4 answers
240 views
 Hi,
I tried a method in a similar thread for custom ComboBox editor. I can see NodeTypes in the ComboBox element. But when select the item, value can not assign to target value. CheckConverter is just created to check binding value, and converter not rising.

Thanks in advance.

public class Node : ObservableObject
{
        protected int nodeType;
 
        public int NodeType
        {
            get { return nodeType; }
            set { nodeType= value; RaisePropertyChanged(() => NodeType ); }
        }
   }

 
<DataTemplate x:Key="NodeTypeTemplate">
 
        <telerikRad:RadComboBox ItemsSource="{Binding
Source={x:Static helpers:ItemViewFacade.NodeTypes}}"
 
                                 SelectedValue="{Binding NodeType,Converter={StaticResource
CheckConverter}, Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
 
                                 SelectedValuePath="Value"
 
                                 DisplayMemberPath="Header"
 
                                 Margin="0">
 
        </telerikRad:RadComboBox>
 
    </DataTemplate>

 

 
private void radPropertyGrid1_AutoGeneratingPropertyDefinition(object sender, AutoGeneratingPropertyDefinitionEventArgs e)
 {
            if(e.PropertyDefinition.DisplayName == "NodeType")
            {
                var templateName = string.Format("{0}Template",e.PropertyDefinition.DisplayName);
 
                e.PropertyDefinition.EditorTemplate = templateSelector.GetTemplate(templateName);
            }
 
}
Ivan Ivanov
Telerik team
 answered on 05 Feb 2015
1 answer
84 views
The issue occurs when we try to edit the negative value in the RadMaskedTextBox control.
Application crash occured with an exception "Input string was not in a correct format."

Sample code given below :

<telerik:RadMaskedTextBox x:Name="NumerictextBox" MaskType="Numeric" MinWidth="100" HorizontalContentAlignment="Right"
                               Mask="n0"  MaskedText="{Binding MaskText}"TextAlignment="Right"  Height="20" Margin="250,62,33,227"/>

Steps to reproduce :
1. Input a negative value in the textbox say, -5678
2. Select value 5678 (NB : Don't select '-' sign) and try to delete

Please let us know the work around.

Thanks in advance
James Xavier
Martin Ivanov
Telerik team
 answered on 05 Feb 2015
1 answer
110 views
Can I bind heatmap to a two dimensional array?
Peshito
Telerik team
 answered on 05 Feb 2015
3 answers
107 views
Hello All,

I am currently exporting a grid to ExcelML.  Based on the columns UniqueName, I need to export the cells tool tip rather than the value itself.

I am already handling the ElementExporting event from the grid, but I am failing to see a property or method I can use to get the cell's tool tip.  e.Context is the GridViewDataColumn, not the cell itself.

Has anyone had a need to support something like this or provide some quick hints?

Thanks,
Chris

Maya
Telerik team
 answered on 05 Feb 2015
1 answer
110 views
I have GanttView. When I click on empty space of timeline I need scroll to task on this row. How I can do this?
Polya
Telerik team
 answered on 05 Feb 2015
3 answers
209 views
I'm sure I've missed some obscure piece of example code listed somewhere but all I want to know, for now, is how do I tell the carousel what item to place as the foremost item. Out of a carousel of 10 pics, I want pic #5 to be the first item displayed upon the carousel being rendered. I do think I tripped over a possible clue once in a random post to someone's answer but can't seem to locate that little pebble. So after countless posts and documents I'm just wanting to know how do I do this simple thing. Exasperated. 

Thanks in advance,

Tony
Boris
Telerik team
 answered on 05 Feb 2015
6 answers
122 views
When OnEditEnded is fired the e.OldValue and e.NewValue don't seem to have the correct value. They both always have the old value. I need to be able to see if the value has changed to update the a dirty data flag in my application. Is there any way to do this? Thanks
Ivan Ivanov
Telerik team
 answered on 05 Feb 2015
2 answers
363 views
Hello,

The RadSlider is charming when sliding over a decimal range.

Now how about sliding over a date/time/period. I.e. Maximum=max-date, Minimum=min-date, TickFrequency=1day, and so on?

Is there something like that?

Cheers,
Z
Pat
Top achievements
Rank 1
 answered on 04 Feb 2015
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
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
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
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?