Telerik Forums
UI for WPF Forum
3 answers
216 views
I'm guessing this is yet another bug in the RadListBox event handeling:

Create a RadListBox and set it up for Drag and Drop, and then attach handlers for DragInitialized and DragDropCompleted.

Drag and Drop Items and observe:

1. Dragging item from one list box to another does both DragInitialized and DragDropCompleted (correct)
2. Dragging an item to an invalid target and dropping does both DragInitialized and DragDropCompleted (correct)
3. Dragging and item and pressing ESC to cancel also does both DragInitialized and DragDropCompleted (correct)

However...

4. Dragging and item to another position in the same listbox to rearrange only calls DragInitialized handler.  The DragDropCompelted handler is never called. (BUG!)

This screen cast demonstrates: http://screencast.com/t/mx9yQx0EdtZx

David
Kalin
Telerik team
 answered on 27 Mar 2015
1 answer
82 views
Hi,

We are using schedule view with weekly definition. Attached the sample screen shot for reference. As of now, We are displaying time ruler in left side.
Is it possible to display the time ruler in right side also?

Please let me know the feasibiity or suggesstions.

Regards,
Sugumar P
Rosi
Telerik team
 answered on 27 Mar 2015
1 answer
124 views
Is there any way to use the CouldUpload control to upload files to a file share via vpn?

We have users tht need to upload files from remote locations of wifi via VPN to our companies file share, not a cloud service, is there a way to create a provider like that to be able to use this control?
Kiril Vandov
Telerik team
 answered on 27 Mar 2015
1 answer
207 views
Hello,

When I use InsertFragment(document) to insert text from one document to another it is getting inserted with a new paragraph and a new line after the fragment. But I want to insert text without that. It must be exactly as in the original file.

I've tried this code:

var editor = new RadDocumentEditor(document);
editor.Document.Selection.SelectAll();
var fragment = new DocumentFragment(editor.Document.Selection);

But it was wrong if there were CustomAnnotationRange in the copied fragment (CopyContentFromOverride is not called and values of my properties are lost).

Can you help me?
Thanks in advance.

Alexandre.
Mihail
Telerik team
 answered on 27 Mar 2015
4 answers
161 views
I have a RADGridview and I would like to be able to tell what cell is loading (ex: row 3 cell 2) from the CellLoaded event. I need to change some of the properties of the cell based on what cell it is.   
Dimitrina
Telerik team
 answered on 27 Mar 2015
5 answers
410 views
When you group or sort the GridView by one column and afterwards change the corresponding property, the items are more or less randomly inserted in the list.
In my case, the items have some natural sorting by some item number (as indicated by the underlying ItemsSource). There is a property which determines the ordering, however this is not exposed as a column.

Is there any way to force the items to keep this order (inside their respective groups)?

Alex
Dimitrina
Telerik team
 answered on 27 Mar 2015
1 answer
107 views
The chart in my app performs relatively well with exception to one odd behavior.

First, I am creating a point series manually.  I say manually meaning I am creating it point by point.  I do this using a PointTemplate so I can control the color of each point in the series.  The retrieval of data and the creation of each point in the series happens pretty quickly.  Less than 80 milliseconds on average.

Also on the window is a grid where when selecting a row the point series is drawn in the chart.  Clicking another row removes the previous point series and creates a new one.

If I start by clicking the first row and then hold down the down arrow, it draws the first 4 to 5 rows with ease and then seems to pause.  When it finally unpauses, it has "skipped" about 10 to 12 rows and from then on never pauses again.  I have verified in code that the data for the "skipped" rows is being loaded.  They series just aren't being rendered.

A few observations:
  1. When the chart is very small I do not experience this.  When the chart is larger I do.
  2. As I said, after the pause, it continues and then never pause again.  However if I move in the opposite direction in the grid it does pause.  But again after the pause it does not do it again.  Then going in the opposite direction again it does the same thing.

I have tried all the different RenderOptions available.​  I have also tried the RenderMode setter which is obsolete.  I have also tried not using a PointTemplate.

Are there other tweaks that can be done to resolve this?


<telerik:RadCartesianChart Name="Chart"
                           Grid.Column="0">
 
    <telerik:RadCartesianChart.Resources>
        <DataTemplate x:Key="PointSeriesTemplate">
            <Ellipse Fill="{Binding DataItem.Color, Converter={StaticResource ColorToBrushConverter}}" Width="3" Height="3"/>
        </DataTemplate>
    </telerik:RadCartesianChart.Resources>
 
    <telerik:RadCartesianChart.Behaviors>
        <telerik:ChartPanAndZoomBehavior/>
    </telerik:RadCartesianChart.Behaviors>
 
    <telerik:RadCartesianChart.HorizontalAxis>
        <telerik:DateTimeCategoricalAxis DateTimeComponent="Minute"
                                         LabelFitMode="MultiLine"
                                         LabelFormat="H:mm"
                                         LineThickness="1"
                                         MajorTickInterval="60"
                                         MajorTickLength="5"
                                         TickThickness="1"/>
    </telerik:RadCartesianChart.HorizontalAxis>
 
    <telerik:RadCartesianChart.VerticalAxis>
        <telerik:LinearAxis LineThickness="1"
                            MajorTickLength="5"
                            TickThickness="1"
                            Title="Percent Change" />
    </telerik:RadCartesianChart.VerticalAxis>
 
    <telerik:RadCartesianChart.Grid>
        <telerik:CartesianChartGrid MajorLinesVisibility="XY" />
    </telerik:RadCartesianChart.Grid>
 
    <telerik:RadCartesianChart.SeriesProvider>
        <telerik:ChartSeriesProvider Source="{Binding ChartData}">
            <telerik:ChartSeriesProvider.SeriesDescriptors >
 
                <telerik:CategoricalSeriesDescriptor ItemsSourcePath="ChartItems" ValuePath="YValue" CategoryPath="XValue">
                    <telerik:CategoricalSeriesDescriptor.Style >
                        <Style TargetType="telerik:PointSeries">
                            <Setter Property="PointTemplate" Value="{StaticResource PointSeriesTemplate}"/>
                            <Setter Property="RenderOptions">
                                <Setter.Value>
                                    <telerik:BitmapRenderOptions/>
                                </Setter.Value>
                            </Setter>
                        </Style>
                    </telerik:CategoricalSeriesDescriptor.Style>
                </telerik:CategoricalSeriesDescriptor>
 
            </telerik:ChartSeriesProvider.SeriesDescriptors>
        </telerik:ChartSeriesProvider>
    </telerik:RadCartesianChart.SeriesProvider>
 
</telerik:RadCartesianChart>
Petar Marchev
Telerik team
 answered on 27 Mar 2015
3 answers
378 views
Hi,

In my solution, in namespace B, I have a project named CustomControls. This project contain 5 customs UserControls based on existing Telerik UserControls.

ie:

public class CustomExpander : RadExpander (no xaml attached to the class)
{
}

When I try to use my customs UserControls in my main project which is in namespace A in the same solution, in my xaml I can add as an example my CustomExpander but all the properties of the RadExpander are not accesssible in the xaml?!?

Thank's
Alain
Kalin
Telerik team
 answered on 27 Mar 2015
1 answer
235 views
Hello.

I was trying to make a simple UI-test (with NUnit framework), and my test needs to click on telerik RadDropDownButton on WPF window.
When I click on this button using mouse, it works fine (I can see 'RadContextMenu' with 'RadMenuItem' items), but when my test doing this, RadContextMenu does not appear.

Here is the part of Veiw.xaml file:

<telerik:RadDropDownButton x:Name="btnDrop" AutomationProperties.AutomationId="btnDropMenu">
         <telerik:RadDropDownButton.DropDownContent>
                    <telerik:RadContextMenu BorderThickness="0">
                                <telerik:RadMenuItem Header="option1" Command="{StaticResource op1CommandReference}"/>
                                <telerik:RadMenuItem Header="option2" Command="{StaticResource op2CommandReference}"/>
                                <telerik:RadMenuItem Header="option3" Command="{StaticResource op3CommandReference}"/>
                   </telerik:RadContextMenu>
         </telerik:RadDropDownButton.DropDownContent>
</telerik:RadDropDownButton>

This is my code:

var button = win.Find.ByName<Telerik.WebAii.Controls.Xaml.RadDropDownButton>("btnDrop");
button.User.Click();

There is no exception, test finds this button, but when I'm trying to find RadMenuItem, I get this exception (just because RadContextMenu does not appear):

ArtOfTest.Common.Exceptions.FindElementException : Element Not found!

How can I fix this?
Peshito
Telerik team
 answered on 27 Mar 2015
8 answers
105 views
Hi,

In my application, I am using a RadPaneGroup with dynamically loaded RadPanes. As new RadPanes get added to this group, the pane header shrinks. How to prevent this shrinking issue when new panes get added to the group?

Any pointers?

Thanks,
Lax
Kalin
Telerik team
 answered on 27 Mar 2015
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?