Telerik Forums
UI for WPF Forum
10 answers
336 views

I want to use Telerik implicit styles because this seems to be the favorite technique to use with Telerik controls. 

So I use the Telerik noxaml dll's in my project.

I have made a separate class library in which I have included the Telerik resources (the theme resource files). These resources are merged at startup (in the Application class) using code like

 

Current.Resources.MergedDictionaries.Clear();
Application.Current.Resources.MergedDictionaries.Add(new ResourceDictionary
{
    Source = new Uri("/libraryDll;component/Themes/System.Windows.xaml", UriKind.Relative)
});

 

When running the application all works fine and the radwindow is displayed and styled correctly.

However, at design time I don't see anything. This is (of course) because at design time the xaml resources are not available (loaded).

 

How do I fix this problem so I can see the telerik controls at design time? If you can't see the controls you can't design a window can you?

 

Regards,
Peter

 

Dinko | Tech Support Engineer
Telerik team
 answered on 10 Feb 2020
3 answers
199 views

After changing the axis maximum here I want to have the step size change so I can see a label for 130.  How can I accomplish this? 

 

<telerik:RadCartesianChart    ClipToBounds="False"  Margin="20">
    <telerik:RadCartesianChart.HorizontalAxis  >
        <telerik:LinearAxis  Maximum="130" LastLabelVisibility="Visible" >
        </telerik:LinearAxis>
    </telerik:RadCartesianChart.HorizontalAxis>
    <telerik:RadCartesianChart.VerticalAxis >
        <telerik:LinearAxis />
    </telerik:RadCartesianChart.VerticalAxis>
    <telerik:RadCartesianChart.Series>
        <telerik:ScatterAreaSeries >
            <telerik:ScatterAreaSeries.DataPoints>
                <telerik:ScatterDataPoint XValue="30" YValue="1"/>
                <telerik:ScatterDataPoint XValue="130" YValue="1"/>
            </telerik:ScatterAreaSeries.DataPoints>
        </telerik:ScatterAreaSeries>
    </telerik:RadCartesianChart.Series>
</telerik:RadCartesianChart>
Dinko | Tech Support Engineer
Telerik team
 answered on 10 Feb 2020
1 answer
181 views

I have placed a text box control and I have to write validation rule for it.

But the problem is I have bound a collection to the grid view and I have declared only two columns 

one for binding Name

other for value [data template changes depending on property] so I have  overridden selecttemplate method . Based on the item input I have choosen the datatemplate.

Now if write a validation rule for text box ,it applies for all the text boxes in grid.The rule should be individual for each textbox

Can you help me resolving the issue.

Martin Ivanov
Telerik team
 answered on 10 Feb 2020
2 answers
161 views
Can we get an example of ColumnSyncBehavior?  It would be really great if we could sync columns between gridviews.  I was going to write something like this, but if it's already supported by telerik I'd prefer to use that.
Walter
Top achievements
Rank 1
Iron
 answered on 07 Feb 2020
5 answers
352 views
Dear support,

When I click "Add", fill-in data and then "OK", the data has successfully put in the collection but "Add" button is still disabled.
I have to click "Edit" follow by "Cancel" so that the "Add" button become enabled again.
What's wrong?

Meaw
declan
Top achievements
Rank 1
 answered on 07 Feb 2020
1 answer
100 views

Hello,

I'm trying to connect a connector with the shape created dynamically when a connector is created from a existing shape but the user drop the connection on an empty space.

 

Actually i m able to create the new shape at the right position (on the EndPoint of the connection) but i m possible in the AddLink method to associated the connection with the new shape on the right connector .

 

The connection is never associated with the connector when i set the TargetConnectorSource

Martin Ivanov
Telerik team
 answered on 07 Feb 2020
5 answers
344 views

As stated in http://docs.telerik.com/devtools/wpf/controls/radrichtextbox/getting-started/getting-started I added the below references to my WPF project and a simple XAML declaration of RadRichTextBox and the project builds fine and RadRichTextBox is visible in Visual Tree while debugging but it is not rendered on the screen using both VS 2015 and VS 2017. If I replace it with standard WPF RichTexBox everything works fine. I am unable to find anything on this problem in forums or in documentation so what is the problem here and how to resolve it?

Sample project attached (It's a zip file but it's not allowed so I changed the extension to jpg).

 

Telerik.Windows.Controls
Telerik.Windows.Data
Telerik.Windows.Documents
Telerik.Windows.Documents.Core
Telerik.Windows.Documents.Flow
System.ComponentModel.Composition

Tanya
Telerik team
 answered on 07 Feb 2020
6 answers
106 views

     I am programatically setting the RangeEnd and RangeStart of the scroll bar and moving it dynamically as data comes in. This works fine until you manually move the scroll bar. There is a case where the data is reset and I set RangeStart back to 0 and RangeEnd to a number greater that that (0.25 for example) but the scroll bar stays where it was if the user has touched it. If the user has not touched it the scroll bar resets just fine. I am curious if in the logic there is a setting that prevents setting RangeEnd and RangeStart once the scroll bar has been scrolled manually? If so is there a way to reset it outside of recycling the object?

Maxwell
Top achievements
Rank 1
 answered on 06 Feb 2020
1 answer
367 views
Hi guys!
I´m experiment problems to visualization of controls in my WPF project. Actually I'm working with Visual Studio 2017, but only appear a black screen.
I Attach a picture
Vladimir Stoyanov
Telerik team
 answered on 06 Feb 2020
5 answers
189 views

Hi,

in my radSpreadsheet I do this actions:

- insert an empty row (insertEmptyRow.jpg)

- than copy the hole row (copyRow.jpg)

- than paste it in the first cell of the before inserted row (pasteRow.jpg)

- and than I insert an empty row again --> An Error comes up (errorColumnIndex.jpg)

From this point on my Worksheet has this 16383 columns and I can not get rid of it.

What I tried so far wars:

ControlCenter2.radSpreadsheet.Workbook.ActiveWorksheet.Columns.Remove(200, columns.Count-200);

but this had no effect, all the columns are still visible and scrollable.

When I try to delete this columns in GUI the next error occures: (delCol.jpg, errorNullRef.jpg)

 

Sorry for the german in pics.

Can you help?

 

Using telerik 2018 R2.

 

BR Gert

 

 

Dimitar
Telerik team
 answered on 06 Feb 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?