Telerik Forums
UI for WPF Forum
5 answers
430 views

Hi

I am new to the telerik world. I am currently working in a code base that uses a mixture of Telerik winforms (15.1.331) and telerik wpf controls (15.1.401). The application has a custom tssp file for winform elements that sets elements in a style. It also uses builtin Expression-DarkTheme for all wpf controls. My goal is to make both winforms buttons and wpf buttons look the same. I would like to know what is the best approach?

Is there a way to create a wpf button theme from the winform radbutton style in the tssp file and apply it across the solution?

Thanks

Venkat

Martin Ivanov
Telerik team
 answered on 17 Sep 2015
1 answer
56 views

Downloaded the trial version and some documentation earlier today..

Come on guys: ​Each and every time I run my test app, I am getting a modal dialog. I know, I know that I am running the trial version. 

Next it opens a new browser windows on Telerik website.This is crazy...

And this will definitely not do anything to convince me to purchase the product.

I need to evaluate the Chart components in real situations (with plenty of data) and my eval will require some time..

So is there any way to bypass the dialog or at least the opening of the browser window?

Thanks,

L.T

Petya
Telerik team
 answered on 17 Sep 2015
11 answers
385 views
Hi, I'm experiencing a NRE when using RadPdfViewer. So far, I've not been able to come up with something that's repeatable (however, it's consistently failing), but it does seem to have something to do when closing down a control (i.e. removing the control that contains the RadPdfViewer).

Is there some what I can at least trap this error and prevent it from leaving the Telerik libraries? Or absent that do you have instructions for me to somehow build a debug release of Telerik I can debug with?

I'm using Q1 2014 release.

Thanks,
Scott

This is the exception:

System.NullReferenceException was unhandled
  HResult=-2147467261
  Message=Object reference not set to an instance of an object.
  Source=Telerik.Windows.Controls.FixedDocumentViewers
  StackTrace:
       at Telerik.Windows.Documents.UI.FixedDocumentPresenterBase.UpdateSelectionUILayer()
       at Telerik.Windows.Documents.UI.FixedDocumentPresenterBase.UpdateCaretUI()
       at Telerik.Windows.Documents.UI.FixedDocumentPresenterBase.Presenter_LostFocus(Object sender, RoutedEventArgs e)
       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 Telerik.Windows.Controls.Input.FocusScope.OnLostFocus(Control element)
       at Telerik.Windows.Controls.Input.FocusScope.FocusNextElement()
       at Telerik.Windows.Controls.Input.FocusScope.RemoveFocusableElement(Control element)
       at Telerik.Windows.Controls.Input.FocusScope.FocusableElement_Unloaded(Object sender, RoutedEventArgs e)
       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.BroadcastUnloadedEvent(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.RenderMessageHandler(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)
       at System.Windows.Threading.DispatcherOperation.InvokeImpl()
       at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       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.LegacyInvokeImpl(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 FileNavigator.App.Main() in c:\Dev\Projects\FileWorld\File.App\obj\x86\Debug\App.g.cs:line 50
       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.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException: 
Tanya
Telerik team
 answered on 17 Sep 2015
0 answers
65 views

I have an issue with loading layout that causes the floating panes appear in a sequence, not at the same time as i like it to be. Is there any way of achieving this?

This is how i currently do it:

In the ElementLoaded event i set the pane to be IsHidden=true. So far so good. And then in my main application Loaded event i set the IsHidden=false to show the panes. Bot doing this takes exactly the same ammount of time as if i would not set them to be hidden in the ElementLoaded event.

 

I want all of the panes to become visible with its content all at the same time. Reason for this is we have a startup screen that is visible untill all content is loaded. It works fine with the docked panes, but not the floating ones.

 

/Niklas

Niklas
Top achievements
Rank 1
 asked on 17 Sep 2015
3 answers
180 views
Hi,,,When Am Going To Add New Item  To RadGridView First I Adden First Column And Then Move To Second Second Column.When I Moved second Column The First Column Data Is Not Visible What I Entered Like That Second,Third Column Also.Can U give Any Suggestion. I Attached  3 screen shot also just see Where Is Reference Name, Refernece Description and give the suggestion please..as soon as possible
Ivan Ivanov
Telerik team
 answered on 16 Sep 2015
6 answers
158 views

I have 2 RadPane inside a RadPaneGroup which is inside a RadDocking and Split Container.

I have a UserControl with Textbox inside it and Placed the UserControl inside second RadPane as content Template.

Now dragged the Second Rad Pane from the Group and Float it. Then manually set the focus on Textbox inside the second RadPane. When i again drop the Floating window (Dock center) into RadPane Group, it throws exception as below

ArgumentOutOfRangeException:  Index out of Range Exception ....

But it is not throwing this error when I am not focus into the Textbox.

Please provide me a solution

Suresh
Top achievements
Rank 1
 answered on 16 Sep 2015
3 answers
638 views

Hi,

regarding to the post "http://www.telerik.com/forums/avoid-focus-on-radgridviewcolumn"

is there a possibility to disable the focus on a read only grid column? The property "Focusable" has no effect.

Stefan
Telerik team
 answered on 16 Sep 2015
1 answer
117 views

My error prompt works well, when it's outside of the range it prompts the error message. If there a way to have it prompt the message and not stop code from running?

 

public string Nint
        {
            get
            {
                return _nint;
            }
            set
            {
                if(double.Parse(value) > (double) Product.MaximumRate || (double.Parse(value) < (double) Product.MinimumRate))
                {
                    NintErrorEnabled = true;
                    throw new ValidationException();
                }

                 NotifyOfPropertyChange();
            }
        }

 

"throw new ValidationException();" stops the code right in it's track. Could I still display the error message without stopping the code? 

Martin Ivanov
Telerik team
 answered on 16 Sep 2015
1 answer
119 views
I have been asked to implement functionality so that as the user moves over a chart comprised of line series, that not only does an ellipse get drawn at the datapoints in the same vertical area of the chart but a label above the datapoints as well. To help visualize, imagine the "Zooming and Scrolling" ChartView example. In the top chart there is an area series being rendered in blue. As you move the mouse over the chart a dot is rendered over the point closest to the cursor. The users have asked for not only a dot, but the chart Y value displayed above the dot (in this example, the price). I recognize that this example is utilizing the trackball functionality of the chart, but I can't quite figure out how to get a label to appear above each series dot with the values. Any suggestions?
Martin Ivanov
Telerik team
 answered on 16 Sep 2015
1 answer
291 views

Hi,

 I've encountered an issue where Radgridview crashes upon trying to display  too many rows ~1000+. The radgridview is placed under a data template which in turn is part of a hierarchy child template. Upon hitting the expand button to display the grid view,  the ui freezes after showing the rows. Upon reducing the number of rows in the data table to 60, all the rows appear without freezing. Any way I could get my 1000+ rows to appear without freezing the ui.

 Best Regards,

CH

Petya
Telerik team
 answered on 16 Sep 2015
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?