Telerik Forums
UI for WPF Forum
1 answer
121 views
Hi..
When I set the SelectedItem... it does not change... any ideas... thanks

I'm trying to find a specific item in grid and set that item to the SelectedItem..      Is the following code the correct method...?
The object is found but the selecteditem does not get set.

   List<inv_mstr> lstFind = this.grid.ItemsSource as List<inv_mstr>;

 

                List<inv_mstr> lstFind2 = (lstFind.Where(i => i.inv_no == Convert.ToInt32(sch.ApptID)).Take(1)).ToList();

 

                this.grid.OnApplyTemplate();

 

                this.grid.SelectedItem = lstFind2.Take(1);

Milan
Telerik team
 answered on 01 Mar 2010
1 answer
102 views
Any plans on providing controls for use within Microsoft Surface Solutons?
Nikolay
Telerik team
 answered on 01 Mar 2010
1 answer
112 views
Hi,
I would like to select the entire row on clicking the row header (Navigation column). How do we achieve this? Currently the current row is not changing on clicking the row header

Thanks in Advance
Milan
Telerik team
 answered on 01 Mar 2010
5 answers
150 views
is there a way to force the grid to only select a single row even in child tables

what seems to be happening (2010 Q1) is that i can select a row in the parent table and also select a row in the child even though i have selectionmode set to single

Milan
Telerik team
 answered on 01 Mar 2010
1 answer
113 views
Hi,

when using the beta-dlls with a custom theme (http://www.telerik.com/community/forums/wpf/scheduler/custom-theme-how-to-get-categories-working.aspx) the Visual Studio XAML-Designer stops working with the following error:

Error    181    Cannot convert the value in attribute 'Source' to object of type 'System.Windows.Markup.StaticExtension'.  Error at object 'System.Windows.Data.Binding', Line 1 Position 891. 


Exception has been thrown by the target of an invocation.
   at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType)
   at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at Microsoft.Windows.Design.Features.FeatureManager.FeatureConnectorEntry.AttemptActivate()
   at Microsoft.Windows.Design.Features.FeatureManager.FeatureConnectorEntry.OnRequirementsChanged(Object sender, EventArgs e)
   at Microsoft.Windows.Design.RequirementValidator.OnRequirementChanged(Object sender, EventArgs e)
   at Microsoft.Windows.Design.RequirementSubscription.OnRequirementChanged()
   at Microsoft.Windows.Design.RequiresContextItemAttribute.RequireContextItemSubscription.OnContextItemChanged(ContextItem item)
   at Microsoft.Windows.Design.SubscribeContextCallback.Invoke(ContextItem item)
   at Microsoft.Windows.Design.EditingContext.DefaultContextItemManager.OnItemChanged(ContextItem item)
   at Microsoft.Windows.Design.EditingContext.DefaultContextItemManager.SetValue(ContextItem value)
   at Microsoft.Windows.Design.Interaction.DesignerView.set_Context(EditingContext value)
   at MS.Internal.Designer.SimpleViewManager.get_View()
   at Microsoft.Windows.Design.Documents.MarkupDocumentManager.get_View()
   at MS.Internal.Host.PersistenceSubsystem.get_DocumentView()
   at MS.Internal.Host.Designer.get_View()
   at MS.Internal.Designer.VSDesigner.Load()
   at MS.Internal.Designer.VSIsolatedDesigner.VSIsolatedView.Load()
   at MS.Internal.Designer.VSIsolatedDesigner.VSIsolatedDesignerFactory.Load(IsolatedView view)
   at MS.Internal.Host.Isolation.IsolatedDesigner.BootstrapProxy.LoadDesigner(IsolatedDesignerFactory factory, IsolatedView view)
   at MS.Internal.Host.Isolation.IsolatedDesigner.BootstrapProxy.LoadDesigner(IsolatedDesignerFactory factory, IsolatedView view)
   at MS.Internal.Host.Isolation.IsolatedDesigner.Load()
   at MS.Internal.Designer.DesignerPane.LoadDesignerView()

 
Unable to cast object of type 'MS.Internal.NamedObject' to type 'System.Windows.Input.Cursor'.
   at MS.Internal.Interaction.DesignerResources.GetCursor(ResourceKey key)
   at MS.Internal.GridControl.GridPanelAdorner..ctor(Grid grid)
   at MS.Internal.GridControl.GridDesigner..ctor(ModelItem gridItem)
   at MS.Internal.GridControl.GridDesigner.GetDesigner(ModelItem gridItem)
   at MS.Internal.GridControl.AlwaysVisibleGridAdornersProvider.Activate(ModelItem item, DependencyObject view)
   at Microsoft.Windows.Design.Interaction.AdornerProvider.InvokeActivate(EditingContext context, ModelItem item, DependencyObject view)
   at MS.Internal.Features.AdornerProviderFeatureConnector.FeatureProvidersAdded(ModelItem item, IEnumerable`1 extensions)
   at Microsoft.Windows.Design.Features.PolicyDrivenFeatureConnector`1.UpdateFeatureProviders()
   at MS.Internal.Features.PolicyDrivenToolFeatureConnector`1.UpdateCurrentTool(Tool newTool)
   at MS.Internal.Features.PolicyDrivenToolFeatureConnector`1.<.ctor>b__0(Tool newTool)
   at Microsoft.Windows.Design.ContextItemManager.SubscribeProxy`1.SubscribeContext(ContextItem item)
   at Microsoft.Windows.Design.EditingContext.DefaultContextItemManager.Subscribe(Type contextItemType, SubscribeContextCallback callback)
   at Microsoft.Windows.Design.ContextItemManager.Subscribe[ContextItemType](SubscribeContextCallback`1 callback)
   at MS.Internal.Features.PolicyDrivenToolFeatureConnector`1..ctor(FeatureManager manager)
   at MS.Internal.Features.AdornerProviderFeatureConnector..ctor(FeatureManager manager)


Best Regards
Steffen

Steffen
Top achievements
Rank 1
Veteran
 answered on 01 Mar 2010
1 answer
53 views
Hey,

I was testing the column filtering functionality (where the filter box is inside the column header) and it is crashing the application in the Beta Q1 assemblies.

 

When the filter string is typed into the column filter box, and 'enter' is pressed, the application crashes.


I havent tested for this particular error within my own app, only in the wpf demo.

Thanks,


A Marshall
Vlad
Telerik team
 answered on 01 Mar 2010
5 answers
191 views
Is there any way to make the WPF RadGridView navigate down and up when pressing enter/shift enter like Excel does while remaining in edit mode. Currently when you fill in data in a column you have to press enter to exit edit mode, press down arrow and the press F2 to enter edit mode again. Not very effective when you are filling in 150 rows.

While on this topic, it would be great to have the rest of the Excel navigation in here like automatically entering edit mode when you start typing and being able to use the arrow keys for navigation when in edit mode.
Hristo
Telerik team
 answered on 01 Mar 2010
1 answer
154 views
I've referred to the demo to persist user grid settings (sort orders, grouping, columns, etc.) and it works great!  Problem is...it only works when I load and unload the control where my grid is hosted.  How can I persist these grid settings when my application is closed (a user clicks the red X in the upper-right to close it down)?  Do you have an example of how to accomplish that...as I'm guessing I need some code in the Application.xaml file or its code-behind.

Thanks!
Milan
Telerik team
 answered on 01 Mar 2010
1 answer
221 views

To clarify items in the list of a combobox I need to alternate background color, like in a gridiew or similar.

Konstantina
Telerik team
 answered on 01 Mar 2010
1 answer
174 views
hi!!

i need to add image programmatic to a cell in the radgridview ???

the radgridview has 3 columns name,last name and id type, depends the id type will be the image in the cell name.

what can i do???
Vlad
Telerik team
 answered on 01 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?