Telerik Forums
UI for WPF Forum
5 answers
193 views
Hello,

On a grid, I set CanUserSelect to false. It works fine for mouse selection (the user cannot select a row with the mouse) but not with keyboard arrow keys.

Let me describe how to reproduce it: if you click on the grid (nothing is selected) but the grid gets the focus. Then, you use the arrow keys (up or down) and it selects the row just where you clicked (and not where the last selection was set in code)!

So, not only the user can select a row with the keyboard but "something" is also selected when clicking! Even if the selection doesn't change, the row that was clicked is still saved somewhere.

Is this a normal behavior? Am I missing an option on the grid to disable the keyboard select?
If it's a bug, do you have a workaround and when will it be corrected?

Best regards,

Daniel

EDIT: I forgot to specify that we use the Q1 2010.
Milan
Telerik team
 answered on 28 May 2010
3 answers
181 views
Hi.
We encountered a problem using the StyleManager.
We designed a (long-living ?) app which opens and closes Windows (frequently ?).
The App is running like 7 hours a day (as a try Icon) and the user con Open different Windows.
When the App starts it sets
Telerik.Windows.Controls.StyleManager.ApplicationTheme = new Telerik.Windows.Controls.Office_BlueTheme() 

When a user openes a Window he manipulates some data and closes the Window again.
For some days now we have been searching for a memory leaks (the memory in use seemed to grow)...
It turns out that no Window (and from there no controller/presenter, adapter, repository, entity-context, data-object) will ever be garbage-collected.
Upon further investigation the leak disappeared when we commented out the StyleManager-Line.
Using clr-profiler we were able to determine that references are in place from root to all/most telerik controls (and from there to the containing Window) when using an ApplicationTheme.

Ist there a way (apart from running every window in it's own AppDomain) to set a theme on aplication-level and make use of garbage-collection ?

Yours,
Nils
Nikolay
Telerik team
 answered on 28 May 2010
3 answers
150 views

Hi,

I tried the book control in my WPF application. I need to have a book cover and a different flip animation for title i.e. given as example

http://www.quranflash.com/en/quranflash.html

In this example the look and feel of first cover is like the real book title effect. Is this kind of animation possible with RadBook? Please provide help in both cases that how I can be able to achieve this hard cover effect. Thanks in advance

 

Regards,

 

Haroon

 

  


Valentin.Stoychev
Telerik team
 answered on 28 May 2010
2 answers
157 views
Hi guys,

I've got a telerik rad grid view data bound to a BindingList<items> with group descriptiors enabled and it seems that when I edit a cell and then commit it, the row gets shifted to the bottom of the current grouping.

Any ideas?

Cheers,

Tim.
TSRG - IT
Top achievements
Rank 1
 answered on 28 May 2010
5 answers
255 views
Hi,

We've noticed an interesting behavior - when the RadWindow is maximized it hides the Windows' taskbar. Did anyone else run into this? Is there a simple solution for the matter?

Thanks,
yonadav
Hristo
Telerik team
 answered on 28 May 2010
4 answers
173 views
I have a gridview in a window that displays/loads fine, in design view, for a VS 2008 solution.  i have upgraded the solution to VS 2010 and now receive the error below when in design view (still runs without error, just design time error).

System.NullReferenceException

Object reference not set to an instance of an object.

at Telerik.Windows.Controls.GridView.GridViewItemsControl.DisconnectFromDataEvents() in c:\Builds\WPF_Scrum\X1_Q1_2009\Sources\Development\WPF\GridView\GridView\GridViewItemsControl.cs:line 824 at Telerik.Windows.Controls.GridView.GridViewItemsControl.GridViewItemsControl_Loaded(Object sender, RoutedEventArgs e) in c:\Builds\WPF_Scrum\X1_Q1_2009\Sources\Development\WPF\GridView\GridView\GridViewItemsControl.cs:line 548 at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e) at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent) at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root) at MS.Internal.LoadedOrUnloadedOperation.DoWork() at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks() at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks() at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget) at System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(Object resizedCompositionTarget) 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)

Milan
Telerik team
 answered on 28 May 2010
2 answers
484 views
Hi,

I need to do something like the following :
            <r:GridViewColumn Header="{Binding Path=Whatever}">
                <r:GridViewColumn.CellTemplate>
                    <DataTemplate>
                        <TextBlock Text="{Binding TotalUnits}" />
                    </DataTemplate>
                </r:GridViewColumn.CellTemplate>
            </r:GridViewColumn>

It doesn't work.  There's no binding error displayed to the Output Window (normally, all binding errors are displayed there).  The header is just plain empty in my grid.  Before you tell me that the property may not exist, I must add that I also tried {Binding .} (or {Binding Path=.} if you prefer); at least, it should display the ToString value of the current DataContext, whatever it is, but again, nothing is displayed.

Thanks in advance

project30
Top achievements
Rank 1
 answered on 27 May 2010
1 answer
184 views
sorry, maybe it's a stupid question, but how can I make a window unresizable?
Konstantina
Telerik team
 answered on 27 May 2010
3 answers
150 views
Could it be, that beside me being stupid and not having a clue about wpf/silverlight, you guys duplicated the RadMap Tutorial for Silverlight and used it for RadMap WPF, and I tried to apply the silverlight tutorial to the wpf application and therefore get the error below ?

http://www.telerik.com/help/silverlight/map-create-basic-application-bing-maps.html



http://www.telerik.com/help/wpf/map-create-basic-application-bing-maps.html

?
----------------------------------------------------------------------
can i post now ?

sorry, but I got an error message when trying to reply to my previous thread. So, again ... I want to use RadControls for WPF. I have Visual Studio 2008 SP1 installed and the Telerik WPF Q1 2010. Telerik shows up fine in my Visual Studio Toolbar, the sample files are there and show up.

Now, when I try to follow the tutorial for RadMap ...

"

    1.   Open Visual Studio 2008.

    2.   Select File the main menu.

    3.   Select New, and then Project from the menu.

    4.   In the New Project dialog box, under the language of your choice (for example, Visual C#), select Silverlight.


"

I previously did not had the option "Silverlight" ... I installed Silverlight Tools and Silverlight SDK, then I got the option to choose Visual C# and Silverlight.

Next Step ...

"
Display a Map

Next, reference the map control in your project and display the default map in your application.

    1.    With the Silverlight project selected (not the Web project), select Project then Add Reference from the Visual Studio main menu.

    2.    In the Add Reference dialog box, click the Browse tab.
    3.    Browse to the location of your RadMap control installation, select the Telerik.Windows.Controls.DataVisualization.dll file and click OK.


"
When I try to add the Reference, I browse for the "Telerik.Windows.Controls.DataVisualization.dll" in the RadControls for WPF Q1 2010/Binaries/WPF/ ... Folder. When I try to add the .dll I get ...

"You can´t add a refernece to Telerik.Window.Controls.DataVisualistion.dll as it was not built against Silverlight runtime. Silverlight projects will only work with Silverlight assemblies"


So, that´s so far killing my attempt to follow the turial and use the wpf telerik RadMap component.

Help ?

Thanks d.







dirk binternagel
Top achievements
Rank 1
 answered on 27 May 2010
4 answers
261 views
Hello again,

To keep this post fairly short I will reference the great code you have provided from http://www.telerik.com/community/forums/wpf/treeview/select-entire-row-and-remove-expand-buttons.aspx

I would like the SelectionVisual Border to stay highlighted on the main tree item if a user goes deeper into the tree.  I am also trying to change the foreground color of the item if selected.

I was thinking that I needed to have a ItemContainerStyle for each HierarchicalDataTemplate "layer" in the treeview to achieve the desired result.  Is this the best way?

I am including a reference picture to better illustrate what I am talking about.  I have already done the expander.


Thanks again,
Your controls and help save us lots of time :)

Ryan

Ryan Black
Top achievements
Rank 1
 answered on 27 May 2010
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
InlineAIAssistant
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?