It seems thet all depedency property are set by telerik RadDocing during pin / unpin of RadPane. It couses unexcpected beheviuour in some our controls. How can I prevent thet Docing pannel change children component state during pining and unpinig?
Hi,
I have created a custom control with Textbox having properties values as AcceptsReturn="True" TextWrapping="Wrap" so that it will acts as Multi line Textbox. I used this control as Editor for one of the Property which binds to PropertyGrid and Editor Style as DropDown.
I have problem here,whatever I write in the textbox once dropdown closed it should be visible in propertyValue but it is not showing the value.How to achieve this??
I am asking similar to TimePicker where once we select time it will be shown in PropertyValue.
Regards,
Nagasree.
Hello,
I am looking into a way to display a vertical red line in the RadTimeBar displaying the 'current' time.
Do you have any suggestions on how to approach this?
I did a quick search using Google to find an image which contains a impression of what I need: http://apps.micw.eu/apps/wetter/wetter.01.png
Best regards,
Douwe
Hi,
I need to order the Categories in the PropertyGrid.Is there any way to achieve it? In the given picture I want to have the group order as
1. Personal
2.Personal Contact
3.Name
4.WorkContact
5.JobDescription
Regards,
Nagasree.
The application is written for a windows 8 tablet desktop. I have applied the windows 8 touch theme in the code behind of my main window.
StyleManager.ApplicationTheme= new Windows8TouchTheme();
Started with a GridViewToggleRowDetailsColumn to open the detail of a row. Unfortunaltely the arrow is too small for the tablet and therefore the touch registration for the arrow would be very finicky.
Decided to create a custom gridview column that mimicked the behavior of the GridViewToggleRowDetailsColumn as authored in these forums many times.
public class InoToggleColumn: GridViewBoundColumnBase{ public override object Header { get { return null; } set { base.Header = value; } } public InoToggleColumn() { EditTriggers = GridViewEditTriggers.None; } public override System.Windows.FrameworkElement CreateCellElement(GridViewCell cell, object dataItem) { var gvt = new RadToggleButton() { Margin = new System.Windows.Thickness(3) }; gvt.SetBinding(RadToggleButton.IsCheckedProperty, DataMemberBinding); gvt.Checked += (sender, e) => _setImage((RadToggleButton)sender); gvt.Unchecked += (sender, e) => _setImage((RadToggleButton)sender); _setImage(gvt); var row = cell.ParentRow as GridViewRow; if (row != null) { row.SetBinding(GridViewRow.DetailsVisibilityProperty, new Binding("IsChecked") { Source = gvt, Converter = new BooleanToVisibilityConverter(), Mode = BindingMode.TwoWay }); } return gvt; } private void _setImage(RadToggleButton radToggleButton) { Image sourceImage; if(radToggleButton==null) return; if (radToggleButton.IsChecked == null) return; if (radToggleButton.IsChecked.Value) { sourceImage = new Image() { Source = new BitmapImage(new Uri(@"/InoAuto;component/Assets/Images/arrow-down.png", UriKind.Relative)),Width = 40 }; } else { sourceImage = new Image() { Source = new BitmapImage(new Uri(@"/InoAuto;component/Assets/Images/arrow-right.png", UriKind.Relative)),Width = 40 }; } radToggleButton.Content = sourceImage; } public override bool CanSort() { return false; } public override bool CanFilter() { return false; } public override bool CanGroup() { return false; } }
It works fine with a mouse but when I move it to my windows 8 surface tablet.
The Touchs do not register, the button does not toggle , and the detail is not displayed.
Any assistance would be appreciated
thanks
dco
I've been evaluating the RadMap control for use on one of our applications. I'd like to be able to zoom the map so that the area I am interested in entirely fills the width of the available space for the control e.g. if I shift-select an area such that the selection box left edge touches point "A" and the right edge touches point "B" I want the redrawn map to show "A" at the extreme left edge of the viewing area and "B" at the extreme right edge. It seems that the control selects the nearest discrete zoom level that will include "A" and "B" but this leaves "A" and "B" slightly in from the edge of the viewing area.
Is it possible to achieve what I want, and if so, is there an event that fires allowing me to when the map has redrawn?

Hi,
I've been looking to implement a change case command similar to what is currently found in Word, I found the following link indicating Telerik are looking to implement this and was wondering if there was any timeline/release date for this feature?
http://feedback.telerik.com/Project/143/Feedback/Details/159427-richtextbox-change-case-command
Kind regards,
Dipen
Hello telerik community :o)
First of all, I am sorry for my english, I know this is not perfect, but I break my back to improve it. :)
I am currently working with the telerik Framework in WPF.
Here is the code (I had to change my variables name)
<telerik:RadGridView Name="GridName" IsPropertyChangedAggregationEnabled="True" EnableColumnGroupsVirtualization="True" EnableColumnVirtualization="True" ItemsSource="{Binding PagedSource, ElementName=PagerName}" AutoGenerateColumns="False" IsBusy="{Binding IsLoading}" SelectedItem="{Binding SelectedIsinFromGrid}" Grid.Row="0">
<telerik:RadGridView.Resources>
<Style TargetType="{x:Type telerik:GridViewRow}" BasedOn="{StaticResource {x:Type telerik:GridViewRow}}" >
<Style.Triggers>
<DataTrigger Binding="{Binding Status}" Value="ACTIVE">
<Setter Property="Background" Value="{StaticResource GreenRessourceColor}" />
</DataTrigger>
<DataTrigger Binding="{Binding Status}" Value="DISABLE">
<Setter Property="Background" Value="{StaticResource RedRessourceColor}" />
</DataTrigger>
<DataTrigger Binding="{Binding Status}" Value="UNKNOW">
<Setter Property="Background" Value="{StaticResource YellowRessourceColor}" />
</DataTrigger>
</Style.Triggers>
</Style>
</telerik:RadGridView.Resources>
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn Header="Header1" DataMemberBinding="{Binding Item1}" />
<telerik:GridViewDataColumn Header="Header2" DataMemberBinding="{Binding Item2}"/>
<telerik:GridViewDataColumn Header="Header3" DataMemberBinding="{Binding Item3}"/>
<telerik:GridViewDataColumn Header="Header4" DataMemberBinding="{Binding Status}"/>
</telerik:RadGridView.Columns>
</telerik:RadGridView>
<telerik:RadDataPager Name="PagerName" Style="{StaticResource CustomDataPagerStyle}" Grid.Row="1" Source="{Binding ItemsListToDisplay}" PageSize="100" IsTotalItemCountFixed="False" />
The error:
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Telerik.Windows.Controls.GridView.GridViewRow', AncestorLevel='1''. BindingExpression:Path=IsPinned; DataItem=null; target element is 'GridViewPinButton' (Name=''); target property is 'IsPinned' (type 'Boolean')
The grid, the pager and the datas are well displayed with the right color, excepte that I have this error inside my VS output.
More information about the usage of this code.
This code is used inside a UserControl, this userControl is wrapped inside a RadPane then it is injected into a RadPaneGroup.
Why am I doing this? Because I am using prism to inject my modules on the fly into the mainRegion as a RadPane
The error occure only when I am moving the pane outside the RadPaneGroup
It is like I messed up with the RadGridView styleRow.
As you can see, I am not using directly the IsPinned property.
Any Idea?
Hi,
I have created a class Employee with Properties FirstName,LastName,Title, and Date of Birth. By default I kept Browsable attribute value 'false' for FirstName Property. In the set block of Title and Date of birth I am trying to change the value of Browsable attribute value of firstName Property to true and false respectively.
It is changing the value to true and showing the FirstName Property while loading the grid.After that again if I edit DataOfBirth it is not hiding the property 'FirstName' even when i set browsable attribute value false.
I am using following code to modify the browsable attribute value:
public void ModifyBrowsableAttributeOfProperty(string prop, bool value)
{
PropertyDescriptor descriptor = TypeDescriptor.GetProperties(this.GetType())[prop];
BrowsableAttribute attribute = (BrowsableAttribute)descriptor.Attributes[typeof(BrowsableAttribute)];
FieldInfo field_info = attribute.GetType().GetField("Browsable", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Public | System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.IgnoreCase);
if ((Convert.ToBoolean(field_info.GetValue(attribute)) != value))
{
field_info.SetValue(attribute, value);
}
}
In simple words it is working only when we change while loading rest of the times when we change browsable Property value it is not refelecting in propertygrid.
Regards,
Nagasree.