Telerik Forums
UI for WPF Forum
2 answers
177 views

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.

Tim Johnson
Top achievements
Rank 1
 answered on 09 Nov 2016
0 answers
49 views
Hi there,

I'm having trouble moving with direction key in edit mode.
On the spread sheet, I can't move to another cell without two times of esc key event.
Is there any method to move out of a cell with only direction key event?
please reply it.
eunji
Top achievements
Rank 1
 asked on 09 Nov 2016
2 answers
94 views

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

Andrea
Top achievements
Rank 1
 answered on 09 Nov 2016
4 answers
264 views

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

ابو
Top achievements
Rank 1
 answered on 09 Nov 2016
2 answers
408 views
RadComboBox autocomplete - Search in any place with mode "contains"
ابو
Top achievements
Rank 1
 answered on 09 Nov 2016
1 answer
144 views

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

Deyan
Telerik team
 answered on 09 Nov 2016
1 answer
108 views

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?

Tanya
Telerik team
 answered on 09 Nov 2016
15 answers
463 views
I have a ScheduleView with the following setup - the actual time spawn and tick marks are being provided by the view model:

<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>


Now, the problem is that the first view definition doesn't pick up the bindings. The timeline view shows a full day view with the default tick mark lengths. Day view and week view display just fine. Now, if I remove the timeline view definition from my XAML and restart the application, the day view is affected, while the week view still works fine. This looks like a bug to me - and it's a show stopping one.

Thanks for your advice
Philipp
Wetzorke
Top achievements
Rank 1
 answered on 09 Nov 2016
1 answer
92 views

how to create a Relation between two classes from code behind. created a relation for particular class but unable to define relation.

 

Martin Ivanov
Telerik team
 answered on 09 Nov 2016
4 answers
135 views

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

Tanya
Telerik team
 answered on 09 Nov 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?