Telerik Forums
UI for WPF Forum
1 answer
123 views

Hello Team,

 

When i mouse over/focus on RadAutoCompleteBox  control and try scrolling using mouse wheel, i would not be able it..how to overcome the issue

Dilyan Traykov
Telerik team
 answered on 06 Jul 2017
1 answer
263 views

Hi 

 

I want to have a deafult combobox at the end of listbox to add new listitem based on selection of item in combobox.

It is similar to new row feature in radgridview.

Is there any option like that or I can customize listbox template to have such feature?

 

Regards,

Nagasree.

 

Dinko | Tech Support Engineer
Telerik team
 answered on 06 Jul 2017
1 answer
230 views

hi, 

I am trying to create a ribbon  menu from a json file. Tabs ands groups are being displayed. But buttons are not. instead, the class names of the buttons are displayed as text and they can not be clicked. what could be the reason ? any example of such system would be appreciated.

so here are my business objects:

01.public class RibbonTab {
02.    public string header { getset; }
03.    public List<RibbonGroup> ribbonGroups { getset; }
04.}
05.  public class RibbonGroup {
06.    public string header { getset; }
07.    public List<RibbonButton> ribbonButtons { getset; }
08.}
09.  public class RibbonButton {
10.  
11.    public string text { getset; }
12.    public string icon { getset; }
13.    public int size { getset; }
14.    public string parentPage { getset; }
15.  
16.    public string ButtonText { get return text; } }
17.    public Telerik.Windows.Controls.RibbonView.ButtonSize ButtonSize
18.    {
19.        get         {
20.            return (Telerik.Windows.Controls.RibbonView.ButtonSize)size;
21.        }
22.    }
23.}

 

here is my view:

<UserControl.Resources>        
<Style TargetType="{x:Type telerik:RadRibbonButton}">            
<Setter Property="Text" Value="{Binding ButtonText}" />        
</Style>        
<Style TargetType="telerik:RadRibbonGroup">            
<Setter Property="Header" Value="{Binding header}" />            
<Setter Property="ItemsSource" Value="{Binding ribbonButtons}" />        
</Style>        
<Style TargetType="telerik:RadRibbonTab">            
<Setter Property="Header" Value="{Binding header}" />            
<Setter Property="ItemsSource" Value="{Binding ribbonGroups}" />        
</Style>    
</UserControl.Resources>    

 

<telerik:RadRibbonView  ItemsSource="{Binding RibbonTabs}" />

Martin Ivanov
Telerik team
 answered on 06 Jul 2017
14 answers
498 views
Hi,

I want to change the height of my RadPanelBarItem's from Height="Auto" to a larger, fix size e.g. Height="40".

Unfortunately it doesn't work, see attached screenshot. What did I wrong?  Here is my code:

<telerik:RadPanelBar Margin="7,7,0,25" HorizontalAlignment="Left" Width="129" Background="#FFEFEFEF" MaxHeight="400">
               <telerik:RadPanelBarItem Header="Network Connections" Height="40" Background="#FFEFEFEF" FontFamily="Segoe UI" FontSize="12">                  
                   <telerik:RadPanelBarItem Header="Delete Items" />
                   <telerik:RadPanelBarItem Header="Inbox" />
                   <telerik:RadPanelBarItem Header="Send Items" />
                   <telerik:RadPanelBarItem Header="OutBox" />
                   <Button Content="Button" Style="{StaticResource LinkButton}" Height="29" Width="82" HorizontalAlignment="Left" Name="button1" VerticalAlignment="Top" Click="button1_Click" />
                   <telerik:RadPanelBarItem Header="Search Folders" />
               </telerik:RadPanelBarItem>
Petar Mladenov
Telerik team
 answered on 06 Jul 2017
3 answers
93 views

 

HI , 

I'am facing a problem that drives me mad.

I play with samples. I build a grid, with no specific options, just following tutorial   I can enter in Edit Mode in a cell  (see green circle in picture) , but then I can not  type anything (see red square in picture) !!

I tried everything, even , I changed keyboard, but nothing is input in the Textbox of any Column. . The boxes stay empty

What can be wrong ? please , that s really annoying

 

Thanks

Dilyan Traykov
Telerik team
 answered on 05 Jul 2017
1 answer
188 views

Is there a way to copy/export the data in a GridView without applying DataFormatString? We have custom formatting on some values and when pasting the values in Excel it's not able to parse them correctly.

I guess that the issue lies in Excel, but a value that is displayed in the RadGridView as "2 250,00" (DataFormatString = "N2", Swedish culture) is parsed as a String when pasted to Excel, and it's impossible to apply any other format until I remove the thousand separator (even when Excel is using a format with a thousand separator).

We're currently copying to the clipboard in Html-format, because some cells contains text with linebreaks, and this seems to be the only way to keep them without breaking the rows.

 

Dilyan Traykov
Telerik team
 answered on 05 Jul 2017
1 answer
290 views

The image I'm working on has some metadata because of which the landscape photo is displayed portrayed. User can rotate once loaded, but what I'm trying to achieve is load the image with proper orientation in first place. I have tested my C# code to read the metadata orientation of image and correct it accordingly to load it properly in normal WPF image control. But I'm having problem using the same code in the Telerik RadImageEditorUI. Basically, I'm looking for an event that could be raised when user selects open>select image from radImageEditorUI dialog box, which then I can use to handle the orientation handling code. 

So, my question is, is there something in Telerik RadImageEditorUI that can handle the orientation issue when loading image? or Is there some kind of image loading or image selected event raised?

    

Dilyan Traykov
Telerik team
 answered on 05 Jul 2017
10 answers
218 views
My software occasionally triggers the exception below. I'm not sure how to catch it or prevent it. Any ideas? I'm using version 2013.2.812.40.

Exception Info: System.OverflowException Stack: 
at System.Decimal..ctor(Double) at Telerik.Charting.LinearAxisModel+<GenerateTicksRegular>d__4.MoveNext() 
at Telerik.Charting.AxisModel.UpdateTicks() 
at Telerik.Charting.AxisModel.BuildTicksAndLabels(Telerik.Charting.RadSize) 
at Telerik.Charting.AxisModel.MeasureCore(Telerik.Charting.RadSize) 
at Telerik.Charting.AxisModel.Measure(Telerik.Charting.RadSize) 
at Telerik.Charting.CartesianChartAreaModel+AxisStack.Measure(Telerik.Charting.RadSize) 
at Telerik.Charting.CartesianChartAreaModel.PrepareAxesStacks(Telerik.Charting.RadSize) 
at Telerik.Charting.CartesianChartAreaModel.ArrangeAxes(Telerik.Charting.RadRect) 
at Telerik.Charting.ChartAreaModelWithAxes.ArrangeOverride(Telerik.Charting.RadRect) 
at Telerik.Charting.ChartNode.Arrange(Telerik.Charting.RadRect, Boolean) 
at Telerik.Charting.ChartAreaModel.Arrange() 
at Telerik.Windows.Controls.ChartView.RadChartBase.OnInvalidated() 
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) 
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) 
at System.Windows.Threading.DispatcherOperation.InvokeImpl() 
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) 
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) 
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) 
at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() 
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) 
at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) 
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) 
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) 
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) 
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) 
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr) 
at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef) 
at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef) 
at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame) 
at System.Windows.Application.RunInternal(System.Windows.Window) at System.Windows.Application.Run() at PacketTester.App.Main() 
Martin Ivanov
Telerik team
 answered on 05 Jul 2017
1 answer
229 views
I created a custom diagram shape style that has the content presenter above the shape. The shape looks great until I select it or attempt to create connections to it. I want the selection box only around the shape and not the text. The connectors are also not attached to the connection points on the shape. I have included some images of the issues I am seeing. I assume it has something to do with modifying the manipulation adorner to target the shape within the DiagramShape rather than the entire DiagramShape.
Martin Ivanov
Telerik team
 answered on 05 Jul 2017
1 answer
455 views
i'm using richtextbox for displaying html and when i got text with 500k char the system stuck for 40 minutes, with 100k it took 3 minutes, with 10k it took 3 seconds
is there anything to do with the performance? is it known issue?
except trimming the text is there anything else to do?
Boby
Telerik team
 answered on 05 Jul 2017
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?