Telerik Forums
UI for WPF Forum
1 answer
110 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
190 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
152 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
214 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
173 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
1 answer
118 views
hi!!

i have a gridview with 3 columns and that i need is when i change de index of a combo add a dynamic column to the gridview that the content of the cells will be images

What Can i do? 
Vlad
Telerik team
 answered on 01 Mar 2010
3 answers
131 views
Hi,

I would first of all like to say 2010 Q1 looks great!! Nice work.

Secondly, I am developing with the RadRibbonBar, I know there were a few issues when using it when minimised, such as the Ribbon not minimising itself again when lost focus. This is now fixed, which is great, however the Ribbon does not minimise when button has been clicked.

I have a Ribbon bar with buttons which when clicked display open a tab just below the ribbon, the tab opens fine but the Ribbon does not minimise. Is this by design?

Also, the first tab is always selected on load, I have all my RadRibbonTabs.IsSelected = False,  once a Tab has been clicked and minimised, no tabs are selected. I have also tried looping through the RadRibbonBar.Items collection and setting RadRibbonBar.SelectedTab=null but there is tab always selected.

One other issue I came across was when I dragged my application and placed it across my two screen and clicked on a Tab, the ribbon tab opened off screen to the left or the right, instead of directly under the tab header where it should open.

One other question, has integration of the RibbonBar into the main application window been implemented in thithe 2010 Q1 release?

Thanks again!

A Marshall
Valentin.Stoychev
Telerik team
 answered on 01 Mar 2010
1 answer
66 views
Hi guys,

I think i found a bug in the TextProperty of the RadRibbonButton. When i set text that contains whitespaces, the text shown in the ribbon is cropped from the first whitespace on. Is this a wanted behavior or is it really a bug ?

Thanks in advance.

Ivan
Telerik team
 answered on 28 Feb 2010
3 answers
213 views
Hi,

Is there any hover panel control in WPF kit? Whenever i move mouse on to the control, window should popup and i should be able to interact with that window and on mouse out/ click elsewhere, window should disappear.

Thanks

Ivan
Telerik team
 answered on 28 Feb 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?