This is a migrated thread and some comments may be shown as answers.

Windows8TouchTheme Encoding

4 Answers 12 Views
Window
This is a migrated thread and some comments may be shown as answers.
Wang
Top achievements
Rank 1
Wang asked on 10 May 2016, 02:05 AM

Hello!

I have a problem when using Windows8TouchTheme,

when alert in Windows8TouchTheme, the punctuations can not show incorrect.

but in windows7theme,it is all right.

 

4 Answers, 1 is accepted

Sort by
0
Wang
Top achievements
Rank 1
answered on 10 May 2016, 02:13 AM

It seems the website could not attach image Containing the Chinese,

attach a image again.

0
Yana
Telerik team
answered on 12 May 2016, 08:08 AM
Hello Wang,

I didn't manage to reproduce the reported issue, so could you to send us some sample code showing how you're setting the Alert?

Thanks in advance.

Regards,
Yana
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Wang
Top achievements
Rank 1
answered on 12 May 2016, 09:00 AM

here is the code:

using System.Windows;
using Telerik.Windows.Controls;

namespace WpfTest
{
    /// <summary>
    /// MainWindow.xaml 的交互逻辑
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
            StyleManager.ApplicationTheme = new Windows8TouchTheme();
            
        }

        private void button_Click(object sender, RoutedEventArgs e)
        {
            RadWindow.Alert(new DialogParameters
            {
                Header = "提示信息",
                Content = "用户名或密码不正确,登录失败!",
                OkButtonContent = "确定",
                Owner = Application.Current.MainWindow
            });
        }
    }
}

0
Yana
Telerik team
answered on 13 May 2016, 01:36 PM
Hello Wang,

I have tested the provided code with the latest release of UI for WPF and the punctuation is displayed as expected, please check the attached screenshot.

Could you check the version that you're using?

Regards,
Yana
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
Window
Asked by
Wang
Top achievements
Rank 1
Answers by
Wang
Top achievements
Rank 1
Yana
Telerik team
Share this question
or