Telerik Forums
UI for WPF Forum
1 answer
27 views
I use test app.
When i try to search "Boston" all works fine, but when search query is "chinese restaurants in San Francisco" I receive error

---------------------------
Fatal error!
---------------------------
Error message: Search Service Exception: Неправильный результат из-за исключения, возникшего во время операции.  См. описание исключения в InnerException. 

StackTrace:    в Telerik.Windows.Controls.Map.BingSearchProvider.SearchServiceSearchCompleted(Object sender, SearchCompletedEventArgs e) в c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\DataVisualization\Map\Providers\Search\BingSearchProvider.cs:строка 427

   в Telerik.Windows.Controls.Map.WPFBingSearchService.SearchServiceClient.OnSearchCompleted(Object state) в c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\DataVisualization\Service References\WPFBingSearchService\Reference.cs:строка 3375

   в System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)

   в System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
Andrey
Telerik team
 answered on 28 May 2010
1 answer
33 views
Route Service Exception: An exception occurred during the operation, making the result invalid.  Check InnerException for exception details.

   at Telerik.Windows.Controls.Map.BingGeocodeProvider.GeocodeServiceReverseGeocodeCompleted(Object sender, ReverseGeocodeCompletedEventArgs e)
   at Telerik.Windows.Controls.Map.WPFBingGeocodeService.GeocodeServiceClient.OnReverseGeocodeCompleted(Object state)
   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)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   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)
   at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.Run()
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at System.Windows.Application.Run()
   at Storage.Inventory.App.Main() in c:\work\test\Storage.Inventory\obj\x86\Debug\App.g.cs:line 0
   at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
   at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
   at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
Andrey
Telerik team
 answered on 28 May 2010
5 answers
130 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
91 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
108 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
100 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
192 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
133 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
411 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
134 views
sorry, maybe it's a stupid question, but how can I make a window unresizable?
Konstantina
Telerik team
 answered on 27 May 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?