Telerik Forums
UI for WPF Forum
5 answers
116 views
Hi,

I'm reading http://www.telerik.com/help/wpf/radchart-features-format-expressions.html. The bottom of the article displays a table of examples of format expressions, eg. {C2}, however I'm unable to find an article that definitively lists all of the format expressions that are available (I would have expected this list in this help article titled "Format Expressions"). I found an example of {D} for date and guessed {T} for time, but don't know what additional formatting options there are.

In particular, I'm trying to display the Y-value in a tooltip using region specific formatting delimiters. For example, while I'm able to use {0.0} to format a number with at least one integer digit and one place after the decimal point, the region I'm working in uses a comma as a decimal point delimiter. If I try to use {0,0}, I only get one integer digit in the tooltip with no "," and no digit after the decimal point.

What format expressions are available and can this information be added to the help (and I'm guessing this information is span across your chart control over different technologies).

I also don't know which circumstances I can use a token. For example, although the documentation at the top of the page seems to indicate that I can use the #LABEL and #LEGENDLABEL tokens in a tooltip, using it only displays the string "#LABEL" in the tooltip and using the #LEGENDLABEL token displays the raw, unformatted Y value in the tooltip. I'm looking to display the label of the series displayed in the legend along with the Y-value in the tooltip so that it is easy to distinguish which series you are hovering over when there are multiple series on the chart.

Kind regards,
Dave.
Evgenia
Telerik team
 answered on 20 Apr 2011
1 answer
154 views
Hello Telerik Team,

In control template i have wpf grid with four columns. And each column contains listbox. Each listbox contains 5 items. How do i use tabbing order?

I am setting OpenDropDownOnFocus="True"
Now when i press Tab key, RadCombobox closed.

Any help would be highly appreciated.

Regards,
Viral
Valeri Hristov
Telerik team
 answered on 20 Apr 2011
1 answer
503 views
Hi,

Confirmation Message before delete or save an Item from DataGrid.
I used a telerik command for deletion of row from datagrid, but user should get a confirmation message before delete of row.
I tried attached code...
<telerik:RadGridView Grid.Row="2" x:Name="orderView" ItemsSource="{Binding Order}" 
                    AutoGenerateColumns="False"  CanUserDeleteRows="{Binding IsChecked, Mode=TwoWay, ElementName=CanUserDeleteRowsCheckBox}"
                             IsReadOnly="{Binding IsChecked, Mode=TwoWay, ElementName=IsReadOnlyCheckBox}" SelectionMode="Extended">
                <telerik:RadGridView.Columns>
                    <telerik:GridViewToggleRowDetailsColumn />
                    <telerik:GridViewSelectColumn Header="Select" x:Name="chkbox" />
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding CustomerName}" Header="Name" />
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding Age}" Header="Age" />
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding Path=COActivity.ActivityDescription}" Header="Age" />
                </telerik:RadGridView.Columns>
</telerik:RadGridView>
  
  
<Button Content=" Delete" Style="{StaticResource GreyButtonStyle}" Command="telerik:RadGridViewCommands.Delete" CommandTarget="{Binding ElementName=gvCustomerOrder}">
                <i:Interaction.Triggers>
                    <i:EventTrigger EventName="Click">
                        <cmd:EventToCommand Command="{Binding Path=DeleteCustomerOrderCommand}" PassEventArgsToCommand="True" />
                    </i:EventTrigger>
                </i:Interaction.Triggers>
            </Button>
  
private RelayCommand<RoutedEventArgs> _deleteCustomerOrderCommand;
        public RelayCommand<RoutedEventArgs> DeleteCustomerOrderCommand
        {
            get
            {
                if (_deleteCustomerOrderCommand == null)
                {
                    _deleteCustomerOrderCommand = new RelayCommand<RoutedEventArgs>(param => this.DeleteCustomerOrder(param), param => this.CanDeleteCustomerOrder());
                }
                return _deleteCustomerOrderCommand;
            }
        }
        private void DeleteCustomerOrder(RoutedEventArgs e)
        {
             
        }
        private bool CanDeleteCustomerOrder()
        {
            string messageBoxText = "Are you sure you want to delete the selected Orders?";
            string caption = "Confirm";
            MessageBoxButton button = MessageBoxButton.YesNo;
            MessageBoxImage icon = MessageBoxImage.Question;
            MessageBoxResult result = MessageBox.Show(messageBoxText, caption, button, icon);
  
            if (result == MessageBoxResult.Yes)
            {
                return true;
            }
            else
            return false;
        }
Maya
Telerik team
 answered on 20 Apr 2011
1 answer
141 views
Is there a simple way or an example to make/use an Internet Explorer or Firefox style tab control where clicking on the last empty short tab creates a new tab?  In WPF, the new tab would display the same user control as other tabs (except the empty tab, of course).  http://www.codeproject.com/KB/WPF/WpfTabControl.aspx shows how to extend the existing Microsoft tab control, but it would be nice if Telerik had these added features.
Miro Miroslavov
Telerik team
 answered on 20 Apr 2011
4 answers
125 views

Hello,

Is there a MVVM Documentation for best practices with Infragistics WPF? - including the xamDataGrid... :)

Thanks for all answers!

Jean-Sebastien
Top achievements
Rank 1
 answered on 20 Apr 2011
3 answers
262 views

How to build and create dynamic indicator in VB code instead of XML

So the indicator should be change according to my input value

 

Also I wanna change the range and the scale in VB code to make it more flexible.
in radical and simi gauge

 

Please let me know how to do that ASAP

 

Thanks in advance

Andrey
Telerik team
 answered on 20 Apr 2011
1 answer
120 views

Hello,

Just after exporting gridview datas to excel, i need to open the newly created excel file directly in excel on client side.

How can i do that ????

Thanks

Frederic
GenApi
Yavor Georgiev
Telerik team
 answered on 20 Apr 2011
1 answer
99 views
I want to show Data in a textblock when user select a row in GridView.
i use a dataset as itemsource for GridView. NOw please tell me how to i do that????
Ivan Ivanov
Telerik team
 answered on 20 Apr 2011
3 answers
74 views
I followed the instructions here http://www.telerik.com/help/wpf/radgridview-styles-and-templates-styling-radgridview.html but when I try to edit the style or template all I get is options for "empty" ones... I can't get it to let me use the existing styles as a base.

Any suggestions?

Thanks!
Vanya Pavlova
Telerik team
 answered on 19 Apr 2011
3 answers
209 views
Hi,
I am working on an application where we need shortest distance between 2 addresses. I will provide one reference point and a collection of addresses against it. The map should return me the shortest distance address from the collection of addresses. Thanks
Andrey
Telerik team
 answered on 19 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?