Telerik Forums
UI for WPF Forum
2 answers
153 views
Hi telerik,

We allow the users to rename items through pressing F2 in treeview - works like a charm.
However, users have requested that Rename should be available throgh the context menu.

Can we through code make the treeview enter into the mode where the name of an item is edited?

Thanks,

Anders, Denmark
Anders
Top achievements
Rank 1
 answered on 13 Oct 2011
3 answers
204 views

Hello Team,
We are upgrading the telerik controls to q2 2011 version. In the previous version the Radgridview right click contextmenu was working fine, but not now. What do I have to change in the below code to get the popup menu when I right click the selected row?
Let me know.

Thanks

<telerik:RadGridView.ContextMenu
    <ContextMenu IsVisibleChanged="ContextMenu_IsVisibleChanged"
        <MenuItem Header="Export To Excel" Command="Commands:GlobalCommands.ExportGridToExcel" 
                  CommandParameter="{Binding Path=PlacementTarget, RelativeSource={RelativeSource AncestorType={x:Type ContextMenu}}}"/> 
        <MenuItem Header="Export To Word" Command="Commands:GlobalCommands.ExportGridToWord"
                  CommandParameter="{Binding Path=PlacementTarget, RelativeSource={RelativeSource AncestorType={x:Type ContextMenu}}}"/> 
    </ContextMenu
</telerik:RadGridView.ContextMenu>
Gita
Top achievements
Rank 1
 answered on 13 Oct 2011
4 answers
529 views
Hi,

I am using GridViewToggleRowDetailsColumn to show the RowDetails, i am getting '+' and '-' symbol to show and hide the RowDetails. Bu t i need to change to custom symbol for '+' and '-'.

Is there anyway that i can change the image or symbol for + and -?
Krista Thompson
Top achievements
Rank 1
 answered on 13 Oct 2011
1 answer
72 views
Is it possible to give dynamic PointSize in ScatterSeriesDefinition???

I have used ScatterSeriesDefinition:
<telerik:ScatterSeriesDefinition ShowItemToolTips="True" PointSize="{Binding SeriesCount}"/>
SeriesCount is property of my entity.
it may be different for each point.
range of SeriesCount may 7 to 20.
i want to give SeriesCount as PointSize of current point.

Thanks in advance.

Regards
Dhaval Patel

Giuseppe
Telerik team
 answered on 13 Oct 2011
3 answers
56 views
I have a grid with three columns, and two rows.  Here's the basic layout:
___________
|  A  |  B  |  C  |
------------------
|  D |  E   |  F  |
------------------

Grid cells A and C are used for something not relevant here.  The bottom row is smaller than the top row.

I want a ScrollViewer (or anything that can contain items and scroll horizontally) in Cells [D,E,F] (ColumnSpan of 3).  The ScrollViewer would hold RadCharts.  When a chart is clicked, I want it to animate and move up to cell B which will provide a much larger view of it.  When another chart is clicked in the ScrollViewer, this chart should animate upwards while the previous chart simultaneously animates back to the ScrollViewer along the bottom.

So if the bottom area holds 30 charts, you could always have one selected and viewed in cell B.

I was looking at RadCarousel but I don't know if it can be customized enough for that.  Any ideas?
Paul
Top achievements
Rank 1
 answered on 13 Oct 2011
5 answers
121 views
I have a RadPaneGroup with Panes that have a header description. Due to the length of the header descriptions and the number of Panes (4) the paneGroup takes up quite qa lot of witdth. If I set the Width of the panegroep with for example Width=700 I get a designer error as displayed below. If I do a binary scan I find the NewItemGlyph in Telerik.Windows.Controls and Telerik.Windows.Controls.UI, so I included those references. Unfortunately this does not solve the error. The application still runs.

Any clues how to solve this?
Telerik.Windows.ControlsSystem.Reflection.TargetInvocationException
Exception has been thrown by the target of an invocation.
at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
System.TypeLoadException
Cannot find type Telerik.WinControls.Design.NewItemGlyph in module Telerik.WinControls.dll.
at Microsoft.MetadataReader.MetadataOnlyAssembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase)
at Microsoft.MetadataReader.MetadataOnlyAssembly.GetType(String name, Boolean throwOnError)
at Microsoft.MetadataReader.MetadataOnlyModule.ResolveTypeRef(ITypeReference typeReference)
at Microsoft.MetadataReader.MetadataOnlyTypeReference.GetResolvedTypeWorker()
at Microsoft.MetadataReader.TypeProxy.GetResolvedType()
at Microsoft.MetadataReader.TypeProxy.GetHashCode()
at Microsoft.Windows.Design.Metadata.ReflectionMetadataContext.GetTypeForReflectableType(Reflectable`1 reflectableType)
at MS.Internal.Metadata.ClrType.GetTypeMetadata(Type type)
at MS.Internal.Metadata.ClrType.get_BaseType()
at MS.Internal.Design.Metadata.Xaml.XamlType.<GetAllAttachableProperties>d__7.MoveNext()
at MS.Internal.Design.Metadata.Xaml.XamlType.<FindAttachableProperties>d__0.MoveNext()
at Microsoft.Windows.Design.Metadata.Xaml.XamlExtensionImplementations.<FindAttachableProperties>d__7.MoveNext()
at MS.Internal.VirtualModel.VirtualModelPropertyCollection.<GetUncachedProperties>d__0.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at MS.Internal.VirtualModel.VirtualModelPropertyCollection.GetEnumerator()
at MS.Internal.Designer.PropertyEditing.Model.Properties.ModelPropertyMerger.<GetFirstProperties>d__0.MoveNext()
at MS.Internal.Designer.PropertyEditing.Views.PropertyEntryReader.RedraftEntries(IPropertyViewManager viewManager, Selection selection, Boolean attachedOnly, IEventCodeBehindProxy eventCodeBehindProxy, CategoryList categoryList)
at MS.Internal.Designer.PropertyEditing.PropertyInspector.UpdateCategories(Selection selection, Boolean attachedOnly, IEntryReader entryReader)
at MS.Internal.Designer.PropertyEditing.PropertyInspector.RefreshPropertyList(Boolean attachedOnly)
at MS.Internal.Designer.PropertyEditing.PropertyInspector.OnSelectionChangedIdle()

Konstantina
Telerik team
 answered on 13 Oct 2011
4 answers
386 views
Hi,

I am using data virtuialization with the help of VirtualQueryableCollectionView. Everything works allright. Now I change the content of some database items on a button click. How can I refresh the rows of my gridview. The grid only shows the right content of rows that are newly loaded. Some rows (I guess these are rows that are already displayed and still kept in memory) are not actual.
What do I have to do?

Here is a source code example:

 

 

public partial class MainWindow : Window
{
        WomanEntities _container = new WomanEntities();
  
        public MainWindow()
        {
            InitializeComponent();
            VirtualQueryableCollectionView view = new VirtualQueryableCollectionView(_container.Women.OrderBy(k => k.ID));
            view.LoadSize = 20;
            DataContext = view;
        }
  
        private void button1_Click(object sender, RoutedEventArgs e)
        {
            WomanEntities _container = new WomanEntities();
            IQueryable<Woman> women = (from k in _container.Women
                                               where k.Age == 60
                                               select k);
            foreach (var item in women)
                item.HairColor = "white";
            _container.SaveChanges();
            ((VirtualQueryableCollectionView)DataContext).Refresh();
        }
    }
Thanks for help in advance

Mechthild
Top achievements
Rank 1
 answered on 13 Oct 2011
1 answer
42 views
We are looking at the ScheduleView control as part of a requested SharePoint 2010 solution. The OOB Calendar in SharePoint can do overlays of multiple calenders, but only up to 10. Can the ScheduleView control do this, and can it do more than 10?
Thanks!
Valeri Hristov
Telerik team
 answered on 13 Oct 2011
2 answers
202 views
We are using the filter-dialog in our gridviews. This works fine and fast.
What we are missing here is a Button / ShortCut to close the dialog.
When we now want to close the dialog we have to click (mouse) outside the dialog.
Is there a hidden feature maybe?
Oliver Abraham
Top achievements
Rank 2
 answered on 13 Oct 2011
2 answers
49 views
Was wondering if anyone had any ideas on how we could do this?

we have overriden the ItemContainerStyle of the RadTreeView, So we have our own custom control....

this control is a series of labels and buttons, but within these we have a textbox... inorder to enrich our user experience, we'd like to be able for users to be able to tab between these TextBoxes, order to quickly enter the text in each item.

Is this possible? Any help would be most welcome
Kevin
Top achievements
Rank 2
 answered on 13 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?