Telerik Forums
UI for WPF Forum
2 answers
169 views

ApplicationMenu is displayed in wrong position.

Some PCs display properly but others are not.

 

I used very simple xaml. Telerik for WPF version is 2017.1.117.45.

<Window x:Class="RadRibbonTest.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:RadRibbonTest"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        mc:Ignorable="d"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <telerik:RadRibbonView ApplicationButtonContent="File" >
            <telerik:RadRibbonView.ApplicationMenu>
                <telerik:ApplicationMenu>
                    <telerik:RadRibbonButton Text="New" />
                </telerik:ApplicationMenu>
            </telerik:RadRibbonView.ApplicationMenu>
        </telerik:RadRibbonView>
    </Grid>
</Window>

Martin Ivanov
Telerik team
 answered on 06 Feb 2017
1 answer
84 views

Hi.

I am trying to add new item into GridView with UI.

My GridView ItemsSource setting. Analytics_Passports_FIO implements INotifyPropertyChanged:

AnalyticsPassportsLinqToSqlDataContext dc = new AnalyticsPassportsLinqToSqlDataContext(Properties.Settings.Default.DefaultConnectionString);
var query = (from u in dc.Analytics_Passports_FIO select u);
var FIOs = new ObservableCollection<Analytics_Passports_FIO>(query);
GridFIODetails.ItemsSource = FIOs;

 

My FilterDescriptor inititalizing:

FilterDescriptor filter = new Telerik.Windows.Data.FilterDescriptor("user_id", Telerik.Windows.Data.FilterOperator.IsEqualTo, id);
GridFIODetails.FilterDescriptors.Clear();
GridFIODetails.FilterDescriptors.Add(filter);

 

If i am trying to add new item in GridView with default UI abilities(NewRow button) it doesn't appears in grid.

What am i doing wrong?

 

Stefan
Telerik team
 answered on 06 Feb 2017
5 answers
304 views
How can I do to let the watermark visible until the user does not enter text?

Currently, the watermark disappears once the control has focus. I like to leave the watermark, even if the control has focus, as the text is null or empty.
Georgi
Telerik team
 answered on 06 Feb 2017
1 answer
133 views

Greetings,

Please tell me how to make resizable scrollbar to transparent..

Dinko | Tech Support Engineer
Telerik team
 answered on 06 Feb 2017
8 answers
99 views

I will be using Visual Studio Test Pro 2015 (with MS Test Manager) and I need to know if MTM will recognize Telerik controls when I create an Action Recording on my WPF app.

 

Thanks!

-Dale

Georgi
Telerik team
 answered on 06 Feb 2017
3 answers
180 views
Hello, how can i implement a context menu for the right side (task view) in ganttview?
Are there any examples?

Thank you and best regards ...

Dilyan Traykov
Telerik team
 answered on 03 Feb 2017
4 answers
602 views

Hello, I'm trying RadDatePicker WPF (2016.1.112.45), but the day numerals are not shown in "Arabic Numerals".
And also there is another problem, when I'm selecting the day from popup, its been converted to hicri date on the top side.

The startup code : (App.xaml.cs)

1.Thread.CurrentThread.CurrentCulture = new CultureInfo("ar-SA");
2.Thread.CurrentThread.CurrentUICulture = new CultureInfo("ar-SA"); 

 

What am i doing wrong?

 

Note :

I'm trying this on Visual Studo 2013, win7(64bit) Turkish. 

Nasko
Telerik team
 answered on 03 Feb 2017
1 answer
207 views

Hello. I have a database on MS SQL Server 2014 Express LocalDB. Lets call this database 'My_Db'. My_Db database has the folowing hierarchy: highest-level master table called 'Devices' has 'Id' field that is primary key. Devices table has one detail table called 'SavedSessions" which has 'Id' field that is primary key and 'Devices_Id' field that is foreign key referenced to Devices.Id field. SavedSesions table has (in its turn) two detail tables: SavedSessionEventLogs and SavedSessionRegisters. Each one of this last two tables has 'SavedSessions_Id' field which is foreign key referenced to SavedSessions.Id field. In my client WPF MVVM application I need to display  these four tables in master/detail hierarchy but this herarchy must not be nested. So each of this table must be displayed in its own grid (for example RadGridView). So if I select record in Device table' grid then content of SavedSession table' grid must be accordingly changed and the first record must be selected there. This accordingly entails the appropriate changing of content of SavedSessionEventLogs and SavedSessionRegisters tables. I want to build this master/detail view using QueryableEntityCollectionView and four instance of RadGridView. I had browsed many appropriate information in Google but not found any useful information. So I'll be very grateful if you give me an example of such an application.

Stefan
Telerik team
 answered on 03 Feb 2017
1 answer
352 views

I have a RadGridView that uses Row-Level Validation (as per this article) to validate the objects in the Collection we bind to. When Adding or Editing grid items, the Validation works as expected.

However, if the user loads data that is not valid, the RadGridView does not highlight those rows in red. The user as to try to edit the row before the red invalid indication appears.

Is there a way to force the RadGridView to validate its contents? Or perhaps there is a different Validation Event I need to listen for?

Thanks for your help,
-Thanos

Dilyan Traykov
Telerik team
 answered on 03 Feb 2017
3 answers
198 views

Hi,

I have several clients using our WMS app to connect to their own server and they report this crash. They also tried different WMS app with their server but the other apps work fine. When I ask them to install fiddler to diagnose the issue, the app works fine only when fiddler is running. Any ideas how this happens?

 

Stack dump:

An existing connection was forcibly closed by the remote host

at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)

at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

 

Petar Mladenov
Telerik team
 answered on 03 Feb 2017
Narrow your results
Selected tags
Tags
+113 more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
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
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?