Telerik Forums
UI for WPF Forum
1 answer
106 views
I have a RadGridView which used for displaying data. Since the i have many columns to display, so i fixed part of the columns and there will be a scroll bar for user to see all the columns. the issue is it cannot show all the columns when i choose 1027*768 screen resolution even max the screen. Any way to fix it? my verson is 2015.2.728.45. runtime version is v4.0.30319
Stefan Nenchev
Telerik team
 answered on 27 Apr 2016
1 answer
144 views

Hi Team!

I'm having the following Exception throwed sometimes (I can't reproduce consistently).

Is there anything I can do to avoid it? Is this a known bug?

System.InvalidOperationException: Unable to return a TimeSpan property value for a Duration value of 'Automatic'. Check the HasTimeSpan property before requesting the TimeSpan property value from a Duration.
   at System.Windows.Duration.get_TimeSpan()
   at Telerik.Windows.Controls.Charting.BaseChartItem2D.ConfigureLinearLabelAnimation(Storyboard storyboard)
   at Telerik.Windows.Controls.Charting.BaseChartItem2D.ConfigureLabelAnimation(Boolean shouldApplyAnimation)
   at Telerik.Windows.Controls.Charting.BaseChartItem2D.ShowLabel(Boolean shouldApplyAnimation)
   at Telerik.Windows.Controls.Charting.BaseChartItem2D.OnApplyTemplate()
   at Telerik.Windows.Controls.Charting.BasePointMarkChartItem.OnApplyTemplate()
   at System.Windows.FrameworkElement.ApplyTemplate()
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at Telerik.Windows.Controls.Charting.LinearSeriesPanel.MeasureOverride(Size availableSize)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.Controls.ItemsPresenter.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Control.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at Telerik.Windows.Controls.Charting.ChartPanel.MeasureOverride(Size availableSize)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
   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)

Thanks a lot!

Best regards,

Petar Marchev
Telerik team
 answered on 27 Apr 2016
15 answers
425 views
Good day all 

This is my first post for 2013. i am working on a Kinect for Microsoft Project , i want to use Telerik Carousel , so as you know in Kinect there is no mouse and keyboards, i want to programmatically move the Carousel items left or right. so i need to know is there a way to move or scroll it Programmatically ? 

Thanks 

Yoan
Telerik team
 answered on 27 Apr 2016
3 answers
222 views

hi,

I tried to trigger the event ResizeCompleted on a Custom ganttask. 

I found in the telerik manual (http://docs.telerik.com/devtools/wpf/controls/radganttview/features/drag-and-drop/dragdrop-custom-behaviors.html) the following event : ResizeCompleted(SchedulingResizeState state) – occurs when the resize operation has finished

 

When I try to use it in code, I got it like in the picture! It can't find the override event like explained in the manual. 

 

 

Note: Using version '2015.2.728.40'

Yana
Telerik team
 answered on 27 Apr 2016
6 answers
1.7K+ views
How do you use the Quick Start Control ?

Just start with WPF and Telerik so might be going down the wrong road
I have download the Demo's on to my PC and been running them and see example that have usage of telerikQuickStart
I'm guessing that the control is the one that is normaly on the right of most demo's

Have seen that I make a control and ref Quick start
<UserControl ......
             xmlns:telerikQuickStart="clr-namespace:Telerik.Windows.Controls.QuickStart;assembly=Telerik.Windows.Controls">

And seen that you set in your control what you want in the quick start
<telerikQuickStart:QuickStart.ConfigurationPanel>
     <StackPanel Margin="3">
         <Button Content="Button1" Click="OnButton1Handler" Margin="0,2" />
     </StackPanel>
</telerikQuickStart:QuickStart.ConfigurationPanel>

But how do you get one in your application to start ?

 
Honghai
Top achievements
Rank 1
 answered on 27 Apr 2016
5 answers
171 views
I'm currently evaluating whether we want to purchase Telerik controls for use in our products. Prototyping is quite cumbersome with the popup's with the message about the trial version.

A semitransparent watermark, or some "trial version" text somewhere in a corner would make it a lot easier for us to do our evaluation. Our business analysts and customers are allergic to popup's (with good reason), so if I would build a demo to show to management then they will not be impressed...
Abdul
Top achievements
Rank 1
 answered on 26 Apr 2016
2 answers
123 views

Hello,

I created a GridView that shows a List<object>, this "object" could be several types, all these types inherit from a same type. This base type has 3 properties:Key, Value and Icon.

Now I show my XAML

<telerik:RadGridView.Columns>
  <telerik:GridViewImageColumn Header="" DataMemberBinding="{Binding Icon,Converter={StaticResource IconaParametroConverter}}"     IsFilterable="False"/>
  <telerik:GridViewDataColumn Header="Parametro" DataMemberBinding="{Binding Caption}" Width="Auto"/>
  <telerik:GridViewDataColumn Header="Valore" DataMemberBinding="{Binding Value,Converter={StaticResource DynamicsParameterConverter}}" Width="*" CellStyle="{StaticResource ValueBoldStyle}" />
</telerik:RadGridView.Columns>

I attached what it shows at runtime.

The ValueColumn has not the filter control.

The only things is that DataMemberBinding has connected with a Converter because Value property should be several type, but this converter return ever string.

Is it for this reason that not appear a filter control?

This is a converter code (Column of value is not editable)

public class DynamicsParameterConverter : IValueConverter
{
    public object Convert(object value, Type targetType, object parameter,
      System.Globalization.CultureInfo culture)
    {
        if (value == null)
            return "";
 
        if (value.GetType() == typeof(DateTime))
        {
            var date = (DateTime) value;
            return date.ToShortDateString();
        }
        else if (value.GetType() == typeof(int))
        {
            var number = (int) value;
            return number.ToString();
        }
        else if (value.GetType() == typeof(bool))
        {
            var siNo = (bool) value;
            return siNo ? "Sì" : "No";
        }
        else if (value.GetType() == typeof(double))
        {
            var valore = (double) value;
            return string.Format("{0:N2}", valore);
        }
        else if (value.GetType() ==typeof(CausaleIVA))
        {
            var valore = (CausaleIVA) value;
            return string.Format("{0} ({1})", valore.Codice, valore.Descrizione);
        }
        else
            return value.ToString();
    }
    //....
}

 

 

Yoan
Telerik team
 answered on 26 Apr 2016
1 answer
145 views

Hello Telerik.

I am currently browsing your forums and documentations, looking for two different features for the PDF displayed on my page.

Perhaps you could guide me to the right direction to look.

what i need the PDFViewer to do is:

 

- bookmark each chapter's titles

so that i could add a navigation menu, allowing the user to click a chapter and have the pdf document scrolled all the way down to it.

- implement a toolbox (including a search bar) to ease the user's navigation

 

it is getting pretty annoying finding running examples for these features. if you have something, please let me know.

thank you!

Deyan
Telerik team
 answered on 26 Apr 2016
1 answer
92 views

In my GridView I want to show the cell like below, how should i do with this formate and if the filter can still filter the data of the result?  Thanks

Column Header :

<AbsoluteResult>

(<Total Bad Data>/<Total Data>)

Cell Content:

98
(196/200)

Dilyan Traykov
Telerik team
 answered on 26 Apr 2016
15 answers
2.2K+ views
I discovered the NoXaml binaries and would like to use them because of the smaller size, but I do not really understand them since I don't use themes anyway. I dragged the noxaml map into a new WPF project for testing but nothing is showing up. Do I still have to include at least one theme dll? That would seem to defeat the purpose for me since the MapNoXAML+Theme is the same size as the normal Map dll. Thanks.
Martin Ivanov
Telerik team
 answered on 26 Apr 2016
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?