I have a ListBox with shapes that I am dragging onto a RadDiagram. The snapping works when an item is dropped on the diagram, thanks to this post --> http://www.telerik.com/forums/snap-to-grid-when-dropping-new-item.
However, I would also like the same functionality to work when previewing this drop ( add the alignment lines and preview where the shape will be snapped to )
Is there any way implement this snap preview? Any feedback would be helpful.
Hi all,
i am working with RadPivotGrid with an EntityFramework Datasource
i would like to add a datasource made like that:
this.queryableDataProvider = new QueryableDataProvider()
{
Source = DBContext.PERSON.Include(e => e.TASKS)
};
when i start the program in the RadPivotGrid and in the FieldList i only see PEERSON and i am unable to see any further level of my DataSource (everything that is in the "include" linq query.
all the EDM Model is tested in many years and works great with all the telerik controls but i am unable to use RadPivotGrid
am i missing some points?
Thanks
Andrea
hi my friend
how I can change with of radcombobox depend on it's selection value with nice animation
like changing in your wpf demo search textbox when we start change it's width resizable
I am using RadRichTextBox to display documents text and image. I am using telerik wpf controls 2015 Q3 Sp1. The issue is that when I paste an image on to the control and use it to generate a document the image quality is decreased. Any help would be appreciated. I have tried this with .png and.jpeg images.
I am using PDFFormatProvider of terelik to convert the RadDocument to pdf.
Thanks,
Zubair Ahmad
Hello,
I have a problem when using diagram in ribbonview,
I want to set the 'New','Open','Save' button of the firstlook demo to the RadRibbonBackstage, the code is:
<telerik:RadRibbonView.ApplicationButtonContent>
<TextBlock Text="Begin" Margin="10 2" />
</telerik:RadRibbonView.ApplicationButtonContent>
<telerik:RadRibbonView.Backstage>
<telerik:RadRibbonBackstage>
<telerik:RadRibbonBackstageItem Header="New" IsSelectable="False" Icon="pack://application:,,,/FOSS.Common;component/Images/new32.png" Command="telerik:DiagramCommands.Clear"
CommandTarget="{Binding ElementName=diagram}"/>
<telerik:RadRibbonBackstageItem Header="Open" IsSelectable="False" Icon="pack://application:,,,/FOSS.Common;component/Images/open32.png" Command="telerik:DiagramCommands.Open"
CommandTarget="{Binding ElementName=root}"/>
<telerik:RadRibbonBackstageItem Header="Save" IsSelectable="False" Icon="pack://application:,,,/FOSS.Common;component/Images/save32.png" Command="telerik:DiagramCommands.Save"
CommandTarget="{Binding ElementName=root}" />
</telerik:RadRibbonBackstage>
</telerik:RadRibbonView.Backstage>
There are two problem:
1.the open and save command did not work.
2.when the window loaded,if I click the "Begin" button, the RadRibbonBackstageItems is not enabled,but when I click the digram,and click the "Begin" button, the RadRibbonBackstageItems is enabled.
what should I do?
<
telerik:RadScheduleView.ViewDefinitions
>
<
telerik:TimelineViewDefinition
MinorTickLength
=
"{Binding MinorTickLength}"
MinTimeRulerExtent
=
"{Binding MinTimeRulerExtent}"
DayStartTime
=
"{Binding StartTime, Mode=OneWay}"
DayEndTime
=
"{Binding EndTime, Mode=OneWay}"
MajorTickLength
=
"1h"
Orientation
=
"Vertical"
StretchGroupHeaders
=
"True"
StretchAppointments
=
"True"
VisibleDays
=
"1"
/>
<
telerik:DayViewDefinition
MinorTickLength
=
"{Binding MinorTickLength}"
MinTimeRulerExtent
=
"{Binding MinTimeRulerExtent}"
DayStartTime
=
"{Binding StartTime, Mode=OneWay}"
DayEndTime
=
"{Binding EndTime, Mode=OneWay}"
MajorTickLength
=
"1h"
TimerulerMajorTickStringFormat
=
"{}{0:t}"
Title
=
"Shift"
/>
<
telerik:WeekViewDefinition
MinorTickLength
=
"{Binding MinorTickLength}"
MinTimeRulerExtent
=
"{Binding MinTimeRulerExtent}"
DayStartTime
=
"{Binding StartTime, Mode=OneWay}"
DayEndTime
=
"{Binding EndTime, Mode=OneWay}"
MajorTickLength
=
"1h"
/>
<
telerik:MonthViewDefinition
/>
</
telerik:RadScheduleView.ViewDefinitions
>
how to create a Relation between two classes from code behind. created a relation for particular class but unable to define relation.
An unhandled ArgumentNullException exception appears after scrolling of the document to the third page,and the document is viewed fine at least in chrome and edge browsers.
Here is the stack trace:
System.ArgumentNullException: Value cannot be null.
Parameter name: source
at Telerik.Windows.Documents.Fixed.FormatProviders.Old.Pdf.PdfElementToFixedElementTranslator.CreateDestination(Destination source, PdfFormatProvider provider)
at Telerik.Windows.Documents.Fixed.FormatProviders.Old.Pdf.PdfElementToFixedElementTranslator.CreateGoToAction(GoToAction source, PdfFormatProvider provider)
at Telerik.Windows.Documents.Fixed.FormatProviders.Old.Pdf.PdfElementToFixedElementTranslator.CreateAction(Action source, PdfFormatProvider provider)
at Telerik.Windows.Documents.Fixed.FormatProviders.Old.Pdf.PdfElementToFixedElementTranslator.CreateLinkAnnotation(Link source, PdfFormatProvider provider)
at Telerik.Windows.Documents.Fixed.FormatProviders.Old.Pdf.PdfElementToFixedElementTranslator.CreateAnnotation(Annot source, PdfFormatProvider provider)
at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfFormatProvider.CopyAnnotationsFromPageSource(Page source, AnnotationCollection annotations)
at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfFormatProvider.LoadPageAnnotations(RadFixedPage page)
at Telerik.Windows.Documents.Fixed.Model.RadFixedPage.LoadAnnotations()
at Telerik.Windows.Documents.Fixed.UI.Layers.AnnotationsUILayer.Initialize(UILayerInitializeContext context)
at Telerik.Windows.Documents.UI.FixedPagePresenterBase.InitializeUILayers(UILayerInitializeContext context)
at Telerik.Windows.Documents.UI.FixedPagePresenter.InitializeUILayers(UILayerInitializeContext context)
at Telerik.Windows.Documents.UI.FixedDocumentPresenterBase.GetPagePresenter(FixedPageLayoutInfo pageInfo)
at Telerik.Windows.Documents.UI.FixedDocumentPagesPresenter.UpdateVisiblePages(IEnumerable`1 visiblePages)
at Telerik.Windows.Documents.UI.FixedDocumentPagesPresenter.ArrangeOverride(Size arrangeBounds)
at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
at System.Windows.UIElement.Arrange(Rect finalRect)
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 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Can you please help with this error investigation?
The problem document: https://drive.google.com/file/d/0B8STNPYlNrMqZlpRS0RiRkdyeFE/view?usp=sharing
Telerik version is 2015.3.1104.45
We are using it with .net 4.6.1, under Windows 10