Telerik Forums
UI for WPF Forum
2 answers
72 views
Hi

I have two treelistview and I selected 4 row in 1st tree and drop on 2nd tree. But in payload it is showing only one that has focus in tree.

Please help me soon.

Regards
Vijay
Vijay
Top achievements
Rank 1
 answered on 14 Oct 2011
4 answers
124 views

Hi!

Is there a buildin Drag&Drop functionality (Drop-Inside, Drop-Above, Drop-Below) like in the TreeView control? I downloaded the trail version of the control but couldn’t spot something like that.


Kind Regards,

Dominik

Vijay
Top achievements
Rank 1
 answered on 14 Oct 2011
1 answer
121 views
Am I right in thinking the RadGridView does not support IsTextSearchEnabled?

I have a read-only grid of data.
I want my users to be able to put the focus on the grid and start typing.

I want the selected row to change according to what they type.

Clearly, I'll need to set the text search path.

The native Listview.GridView does this, but I can't seem to make it work with the RadGridView?

Any suggestions?

Thanks,
Vlad
Telerik team
 answered on 14 Oct 2011
2 answers
157 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
210 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
552 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
73 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
58 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
123 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
398 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?