Hi,
I'm trying to change the culture number format as italian format on my gridview and keep the english language.
If I copy and paste number without enter on edit mode, the cell is keeping the right format (for example 33.000,58)
Otherwise if I'm entering on edit mode the cell lost the number format
I uploaded the demo on support ticket
Thank you
Hi there,
in one of my apps I'm doing the following inside RadGridView:
<telerik:GridViewColumnGroup Name="WeightMonthMatchingGroup">
<telerik:GridViewColumnGroup.Header>
<TextBox Text="{Binding Path=ParameterOverrides.WeightMonthMatching, StringFormat=F1}" Style="{StaticResource ParamTextBoxStyle}"/>
</telerik:GridViewColumnGroup.Header>
</telerik:GridViewColumnGroup>
Until version 2015.1.225.45 this XAML resulted in a usable TextBox inside the GridViewColumnGroup header. Today if updated the Telerik.Windows.Controls.GridView assembly to version 2015.2.623.45 and now the header only displays "System.Windows.Controls.TextBox" as a string and no more a TextBox as before. Is this a bug or did you change this behavior on purpose?
Cheers,
Marcel
Hello,
I finally got my group panel items to show the name of the column rather than the type of the object stored in the Header property. A picture is attached.
Unfortunately, now I lost the nice built in functionality that comes with it.
Such as:
Is there a way to get that back? Or perhaps I should be doing it a different way?
Here is my XAML:
<
Style
TargetType
=
"telerik:GridViewGroupPanelItem"
>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
>
<
TextBlock
Text
=
"{Binding Column.Header.Name}"
/>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
Thanks in advance!
I'm using your TabControl as a region for Prism. It is working fine in most respects, but I can't figure out how to set the header. I've seen some related posts on this, but can't quite work it out. I've associated the tab control with a region "Main" and host a view in it thusly:
var mainRegion = _regionManager.Regions[RegionNames.Main];
var workView = _container.Resolve<MultiWorkspaceView>();
mainRegion.Add(workView);
mainRegion.Activate(workView);
I added a property to MultiWorkspaceView called Title. It seems to me that the context of the tab would be the view that is being hosted, but it seems not. This doesn't work:
<telerik:RadTabControl Grid.Row="1"
x:Name="MainTabControl"
prism:RegionManager.RegionName="{x:Static inf:RegionNames.Main}">
<telerik:RadTabControl.ItemTemplate>
<DataTemplate>
<StackPanel>
<TextBlock Text="{Binding Title, diag:PresentationTraceSources.TraceLevel=High}"></TextBlock>
<TextBlock Text="Workspace"></TextBlock>
</StackPanel>
</DataTemplate>
</telerik:RadTabControl.ItemTemplate>
</telerik:RadTabControl>
I can see the Workspace text, but the binding is empty. Any ideas? Thanks!
Hi, I'm having a problem with the date format when I parse a date and its doesn't show the right date.
I set RadDatePicker Culture to fr-CA xaml side. and my application culture + cultureUI is set to fr-CA
I parse 03/07/2015 --> it shows 2015-03-07 = March 07 2015 it should be July 03 2015 (2015-07-03)
CodeSnipet Below.
<
telerik:RadDatePicker
Grid.Column
=
"1"
Grid.Row
=
"1"
Style
=
"{StaticResource leftRadDatePicker_style}"
Name
=
"dateFacture"
DateTimeWatermarkContent
=
"{x:Static resources:Facture.DateWaterMark}"
SelectedDate
=
"{Binding DateFacture, Mode=TwoWay,UpdateSourceTrigger=PropertyChanged,NotifyOnValidationError=True}"
> </
telerik:RadDatePicker
>
<
Style
TargetType
=
"telerik:RadDatePicker"
x:Key
=
"leftRadDatePicker_style"
>
<
Setter
Property
=
"Height"
Value
=
"36"
/>
<
Setter
Property
=
"FontSize"
Value
=
"16"
/>
<
Setter
Property
=
"VerticalAlignment"
Value
=
"Top"
/>
<
Setter
Property
=
"Culture"
Value
=
"fr-CA"
/>
<
Setter
Property
=
"Margin"
Value
=
"20,5,20,0"
/>
<!--<Setter Property="Template" Value="{DynamicResource RadDatePickerControlTemplate}"/>-->
<
Setter
Property
=
"Validation.ErrorTemplate"
>
<
Setter.Value
>
<
ControlTemplate
>
<
StackPanel
>
<!-- Placeholder for the TextBox itself -->
<
AdornedElementPlaceholder
x:Name
=
"textbox"
/>
<
TextBlock
Text
=
"{Binding [0].ErrorContent}"
Style
=
"{StaticResource ErrorText_style}"
/>
</
StackPanel
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
<
Style.Triggers
>
<
Trigger
Property
=
"IsKeyboardFocusWithin"
Value
=
"True"
>
<
Setter
Property
=
"IsDropDownOpen"
Value
=
"True"
/>
</
Trigger
>
</
Style.Triggers
>
</
Style
>
Thread.CurrentThread.CurrentCulture =
new
CultureInfo(ConfigurationManager.AppSettings[
"Culture"
]);
//Is fr-CA
Thread.CurrentThread.CurrentUICulture =
new
CultureInfo(ConfigurationManager.AppSettings[
"Culture"
]);
//Is fr-CA
Hy Team !
I am showing the DropDown menu on focus with this code :
private void RadAutoCompleteBox_GotFocus(object sender, RoutedEventArgs e)
{
var autoComplete = (RadAutoCompleteBox)sender;
string searchText = autoComplete.SearchText;
if (autoComplete.SelectedItem != null)
{
searchText = BindingExpressionHelper.GetValue(autoComplete.SelectedItem, autoComplete.DisplayMemberPath).ToString();
}
autoComplete.Populate(searchText);
}
This works but it also disable the left click when I try to select something from this list. Every other way are working (right click, keyboard control, ...) just the left click doesn't.
So what can I do to fix this issue ?
Hi,
I'm using the lastest version of telerik version 2015.2.623.45 with implicit theme.
I'm able to add items to outlookbar at runtime by adding view in the Items collection of OutlookBar. But when the items are added or when i'm playing with the outlookbar horizontal splitter, the control never accept my first resizing and i'm always mandatory to do operation twice to be able to resize correctly the area.
You can found a sample here.
To reproduce :
1- Click many times on the button in the right side. It adds view to the outloobar in the left side.
2- Try to collapse new header with the horizontal splitter. For samples collapse two rows and release the mouse button.
3- The area is automatically resize to original size.
4- Repeat exactly same operation works.
Can you help me ?
Thanks
Regards
Luc
Hi,
I add in my charts series as trend lines (linear, logarithmic, polynomial,...). All work good but the best solution is show it as annotation that is not depending on a set of datapoints but that is draw on all current visible chart area (as a line annotation).
Exists a strategy to draw a custom annotation (or other instrument) as a math function instead of a simple line?
marc.
<
Controls:RadCartesianChart
x:Name
=
"chart"
Palette
=
"{Binding SelectedPalette, Mode=TwoWay}"
>
SelectedPalette
changes, I want to know the resulting color of any given Series in the chart
's SeriesCollection in my xaml.cs. The types of these charts may be BarSeries
,
LineSeries
or
AreaSeries
.