Telerik Forums
UI for WPF Forum
1 answer
50 views
I have a WPF Map control in a UserControl initially having Visibility set to Hidden.  The provider for the map is set while its containing parent UserControl is hidden, and the Window holding the UserControl hangs for a long time (longer for lower Internet bandwith) waiting for the Provider setter to execute.  When I comment out setting the Provider property, the Window/UserControl loads quickly.  I tried to defer setting the provider until the UserControl visibility changes, but the setter is still slow and hangs the application.  Is there a way to set the provider on a separate thread or otherwise improve the performance of setting the Provider property?
Andrey
Telerik team
 answered on 24 Nov 2011
9 answers
340 views
When I set Width="*" on any of my RadGridView columns, I cannot make the column smaller. I can make it bigger, but not smaller. 

The GridView I'm working with usually doesn't fill all available space, so I want to set a column width to * to make sure that it fills all remaining space, however on occasion the * column contains data that is too long and gets clipped. When users resize the column bigger to view the data, they cannot make it small again to view the rest of the data.

Is there a workaround for this? I don't want to use word wrapping.

I'm using RadControls for WPF, v.2011.1.419.40
Chris
Top achievements
Rank 1
 answered on 23 Nov 2011
2 answers
196 views
Hello,

I would like to apply logical scrolling to the ScrollViewer RepeatButtons, so I can scroll by one RadTabItem at a time, instead of by a set physical measurement. Out of the box, RadTabControl appears to support logical scrolling for RadTabItems when using the mouse scroll wheel. It even includes animation when scrolling from one RadTabItem to the next. I would like to replicate this same behavior when a user clicks on the ScrollViewer RepeatButtons. Any ideas how to do this?

Thanks,
Frankie
Frankie
Top achievements
Rank 1
 answered on 23 Nov 2011
2 answers
127 views
Hello,

I am trying to use the Persistence Framework to persist a custom object, and am hoping to confirm some of the behaviour that I am seeing.

If I do not specify a custom property provider for my type, I observe the following:

  • Only properties that are primitive types get persisted.
  • However, nullable types are not supported.  You cannot return null for ProvideValue.
  • Properties that are complex types (i.e. other classes) do not get persisted.
  • Implementing ISerializable my classes (top-level or property classes) makes no difference!  (I.e. ISerializable.GetObjectData never gets called.)

 

If I do specify a custom property provider, I observe the following:

 

  • Only properties returned in GetCustomProperties get persisted.  This means, that I need to specify (and support) every property that I want persisted - even ones of primitive types.
  • For complex properties, I can create proxy objects to be saved.  But if these property types themselves have complex properties, it seems I need to package up the entire property tree in the proxy for my top-level property.  Is this true??!
  • Again, implementing ISerializable makes no difference as it never gets called.  This would be a nice way to serialize deep property structures as described in the previous point.

Since the persistence framework has a method that returns a Stream for a particular object, it surprises me that implementing ISerializable on the object I wish to persist does not help.  Am I missing something? 

Finally, if you cannot implement ISerializable, how do you go about persisting deep structures using the custom property provider? 

If someone could help clarify these observations, and perhaps offer a suggeestion about these deep property structures, that would be great!!

Thanks,
Mark

Mark
Top achievements
Rank 1
 answered on 23 Nov 2011
1 answer
99 views
Hello,

I was interresting by using RadRichTextBox with SpellChecking but I can't because SpellChecker 'underwaves' words seperated by simple quote in French :

"Ceci est un texte d'exemple écrit dans l'éditeur de texte enrichi."

In this sentence, the SpellChecker underwaves "d'exemple" and "l'éditeur" which are correct in French.

Is there a
fix planned?

Thanks,
Guillaume.
Iva Toteva
Telerik team
 answered on 23 Nov 2011
1 answer
159 views
I know this might sound like a strange request seeing as I'm using a docking control but...

Is there a way to prevent a user from moving a RadPane?

I have a particular RadPane I always want docked to a particular side of the screen.

I know people may argue it's bad UI design to restrict the users from moving it, but that's what my customer wants so that's the challenge I'm faced with.

I know I can prevent a panel from floating, closing a most of the other features but is there a way to stop a user from actually re-locating a panel to the other side of the screen?


Thanks,

CA.
George
Telerik team
 answered on 23 Nov 2011
3 answers
177 views
Hello,


I have a requirement wherein I want that the expanding image should always be visible irrespective of the child Item present or not.

I tried a lot but could not get how to do it.

A sample code would be helpful.

thanks and regards
Tina Stancheva
Telerik team
 answered on 23 Nov 2011
0 answers
120 views
Hi,

We are using Telerik WPF controls (ver. 2011.2.920.35) and we are trying to accomplish tooltips in the case of a validation failure in one of the grid cells.

Attached is a screenshot that highlights two cells - one with a combobox and the other with a text field. We want the validation errors to be presented for the cell with a combobox just like the way it gets presented for a text field column.

Please let us know how can we do that.

Any help is very much appreciated.

Regards,
Shalini L.
Shalini
Top achievements
Rank 1
 asked on 23 Nov 2011
0 answers
93 views
I am using RadDataFilter for search criteria. I want to get Where clause from Filterdescriptor, which will get record from database.
Currently when i get result from filter descriptor, it result like
"RequestCde isequalto 32"
I want result like
"RequestCde = 32"
Kamran
Top achievements
Rank 3
Iron
Iron
Veteran
 asked on 23 Nov 2011
1 answer
169 views
There are several things needed for help while using RadMenu in Toolbar control:
1. First of all, how to remove the border between the icon and header as shown on the attached file?
2. Under the situation of puting the menu with same submenu items included on the Dropdown button as dropdowncontent, and added to Toolbar, the problem is that the IsEnabled property of menuitem only works at the first time, but once the related data changed won't reflect to menuitems.   (The funcitonability of Command binded to the menuitem works as expected base on "CanExecut..." delegated command, but the UI of "IsEnabled" won't work. This means you can still clike the menuitem which return the "False" value from "CanExecut..." command.)  Any suggestion on this?

Regards,
Valeri Hristov
Telerik team
 answered on 23 Nov 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?