Hi,
I attached a little wpf application that open a pdf file (to put in building folder ) with an image inside.
I tested it in 4 machine (2 w11, 2 w10): I can see the image in 2 machine (1 w11, 1 w10), and I can't in the others (1 w11, 1 w10), what could be the problem?
Thank you
Luigi
Hello,
When using the ScheduleView in month view, I find that the visibility of the expand button is fixed to the minimum height of the day slot, i.e., it appears when the number of appointments in a day exceed those that are visible at the minimum height regardless of whether there is still available room (for example, when the window is maximized). How can this be corrected so that it only appears when there are appointments out of view?
Hello,
I'm building a gauge specifying custom ticks. The gauge is pretty narrow in range, and the ticks fall on double values, like 2.3421 and 4.5214.
It looks like the ticks are getting rounded to int, but I want them to maybe apply a string format to them to display 2 decimal values, how can I do this?
Hi guys,
For my RadSpreadSheet component, I have implemented some custom functions using the FunctionWithArguments implementation. I have a BaseCustomFunction custom class which inherits from the FunctionWithArguments telerik class, and for example, I have a Q1QFunction class which inherits from my BaseCustomFunction, as below:
Imports MAAObject.AerodynamicObject
Imports Telerik.Windows.Documents.Spreadsheet.Expressions
Imports Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Namespace Aerodynamic.Calculator
Public Class Q1QFunction
Inherits BaseCustomFunction
#Region "Properties"
Public Overrides ReadOnly Property Type As ECustomFunction
Get
Return ECustomFunction.Q1_Q
End Get
End Property
#End Region
Public Sub New(name As String, description As String)
MyBase.New(name, description)
End Sub
#Region "Methods"
Protected Overrides Function GetFunctionInfos() As FunctionInfo
Dim requiredArguments As IEnumerable(Of ArgumentInfo) = New ArgumentInfo() {
New ArgumentInfo("Altitude_ft", "The value of the Altitude, in ft.", ArgumentType.Number),
New ArgumentInfo("Mach", "The value of the Mach.", ArgumentType.Number),
New ArgumentInfo("ISA_ÂșC", "The value of the ISA, in Celsus degrees.", ArgumentType.Number),
New ArgumentInfo("Mach_Option", "The value of the Mach Option.", ArgumentType.Text),
New ArgumentInfo("Cpressure", "The value of the Cpressure.", ArgumentType.Number),
New ArgumentInfo("Mach1_Known", "The value of the known Mach1.", ArgumentType.Number)
}
Dim optionalArguments As IEnumerable(Of ArgumentInfo) = New ArgumentInfo() {}
Return New FunctionInfo(Me.Name, FunctionCategory.MathTrig, Me.Description, requiredArguments, optionalArguments, 0, True)
End Function
Protected Overrides Function EvaluateOverride(context As FunctionEvaluationContext(Of Object)) As RadExpression
If context.Arguments.Length <> Me.FunctionInfo.RequiredArgumentsCount Then Return Nothing
Dim altitude As Decimal
If Not Decimal.TryParse(context.Arguments(0), altitude) Then Return Nothing 'tester le return nothing
Dim mach As Decimal
If Not Decimal.TryParse(context.Arguments(1), mach) Then Return Nothing
Dim isa As Decimal
If Not Decimal.TryParse(context.Arguments(2), isa) Then Return Nothing
Dim machOption As String = CStr(context.Arguments(3))
If Not {"YES", "NO"}.Contains(machOption) Then
Throw New ExpressionException("Mach_Option parameter must be ""YES"" or ""NO""")
End If
Dim cPressure As Decimal
If Not Decimal.TryParse(context.Arguments(4), cPressure) Then Return Nothing
Dim mach1Known As Decimal
If Not Decimal.TryParse(context.Arguments(5), mach1Known) Then Return Nothing
Return New NumberExpression(AerodynamicCalculator.Q1_Q(altitude, mach, isa, machOption, cPressure, mach1Known))
End Function
#End Region
End Class
End Namespace
> I have a question about the machOption parameter inside the EvaluateOverride method: is it possible to raise an error if the parameter hasn't the desired value? For example I want to return #VALUE or #REF or another error message, and avoid the calculation of the formula if something provided is wrong.
I tried to use the ErrorExpression or RadExpression base classes, but I can't build them because no New Constructor method is available.
Do you know how I can do that?
Thank you!
Valentin M.
Hello,
how to dectect if upload is completed?
for me i will use the cloud upload control in diffenent windows to update diffenet objects.
actually i found no way to find out if the upload control upload ist completed?
kind regards
Hi.
In attachment I load a file dotx saved as rtf (EmptyTemplate.zip) and the same dotx formatted as rtf by a call to Telerik.Windows.Documents.FormatProviders.Rtf.RtfFormatProvider.Export (12dccb97-adc1-4a10-958a-827d221257a7.zip).
There are some fields that works perfectly until I save the template.
After save the template one field (only one field) stop to works.
The two attachments are quite different, but it is because the first is saved by word and the second is saved by Telerik. The problem can be viewed at keyword SORGENTE_4_Leq: I compared it with the near keyword SORGENTE_4_Min that works on:
{\ltrch\f1\fs22\i0\b0\strike0\cf0\ulc0\ulnone\par}\pard\sl259\slmult1\ql\sa160\ltrpar{\field{\*\fldinst{\ltrch\f0\fs22\i0\b0\strike0\cf0\ulc0\ulnone KEYWORDS }{\ltrch\f0\fs22\i0\b0\strike0\cf0\ulc0\ulnone [SORGENTE_4_Leq]}}{\fldrslt{\ltrch\f1\fs22\i0\b0\strike0\cf0\ulc0\ulnone \{[SORGENTE_4_Leq]}}}
{\ltrch\f1\fs22\i0\b0\strike0\cf0\ulc0\ulnone\par}\pard\sl259\slmult1\ql\sa160\ltrpar{\field{\*\fldinst{\ltrch\f0\fs22\i0\b0\strike0\cf0\ulc0\ulnone KEYWORDS \{ [SORGENTE_4_Min]}}{\fldrslt{\ltrch\f1\fs22\i0\b0\strike0\cf0\ulc0\ulnone \{[SORGENTE_4_Min]}}}
The two fields are not identically formatted, the first have \{ replaced by {\ltrch\f0\fs22\i0\b0\strike0\cf0\ulc0\ulnone.
In the rtf saved by word we could see that the two fields are identically formatted then the strange effect seems to comes from the Telerik.Windows.Documents.FormatProviders.Rtf.RtfFormatProvider.Export call.
Thank you
Luigi
Hi,
I am trying to implement a RadCartesianChart3D, but am missing the SeriesProvider Property to be able to bind view models and dynamically create series.. The Telerik package reference is Telerik.UI.for.WPF.NetCore.Xaml (2021.2.615). Was this property not implemented at that time? If so, how do I overcome this?
Example of what Id like to implement:
<telerik:RadCartesianChart3D x:Name="chart">
<!--...-->
<telerik:RadCartesianChart3D.SeriesProvider>
<telerik:ChartSeriesProvider3D Source="{Binding SeriesData}">
<telerik:XyzSeries3DDescriptor XValuePath="Year" YValuePath="Industry" ZValuePath="Revenue" ItemsSourcePath="Data">
<telerik:XyzSeries3DDescriptor.Style>
<Style TargetType="telerik:BarSeries3D" BasedOn="{StaticResource BarSeries3DStyle}" />
</telerik:XyzSeries3DDescriptor.Style>
</telerik:XyzSeries3DDescriptor>
</telerik:ChartSeriesProvider3D>
</telerik:RadCartesianChart3D.SeriesProvider>
</telerik:RadCartesianChart3D>
Edit: This feature seems to have been implemented in WPF R2 2022 and I do not have the option to upgrade the Telerik package. Is there a workaround for this?
Thanks in advance,
Chris
Also, can't install the SDK Sample Browser (it says I need sharepoint, which I installed and it still says I don't can't install it.. anyways it looks like old stuff why not use a recent installer?).
Honestly, I tried a month ago Devexpress, and I found their product WAY MORE easier to use; the theming mechanism is super intuitive (ThemeManager.ThemeName="Win11Light" that's it, just out of the box). Unless I'm missing something with Telerik?
I hope you can help me so I can eventually enjoy Telerik which looks nice in the Demo (But I wasted A LOT of time trying to resolve these 2 issues (theme and installing the SDK Browser)
Thank you.
Hi,
I have the RadPanelBar in figure:
I would like to draw a border around all the items inside a RadPanelBarItem. If I set border in RadPanelBarItem I get the effect as in figure: only the header is bordered while the inside items are not.
My purpose id to hilight the item not the header, is there any way to achieve this?
Thank you
Luigi