Telerik Forums
UI for WPF Forum
3 answers
174 views

Hey, I'm doing automated UI testing on a WPF application and we want to test exporting a table into multiple formats. The issue I'm having is that I can't seem to change the "Save as type" drop down menu in the save dialog. I'm using this script to save the file right now:

 

SaveAsDialog saveDlg = SaveAsDialog.CreateSaveAsDialog(Manager.ActiveApplication, DialogButton.SAVE, @"C:\test " + date);
Manager.DialogMonitor.AddDialog(saveDlg);
Manager.DialogMonitor.Start();
 

// Click export button script

 
saveDlg.WaitUntilHandled(30000);
Manager.DialogMonitor.Stop();​

Cody
Telerik team
 answered on 13 Nov 2015
3 answers
157 views
Hello,

I use RadCarousel to show  photograph of persons in the HR module. If the user changes a person's photograph, how can I update only this single image in the RadCarousel, without reread all pictures? I use DataTemplate for the CarouselItemTemplate, a short video about it: http://www.youtube.com/watch?v=b3DCjnU-CyU .

I use PowerBuilder 12.1 .NET, so I can use only very simple things, I can’t define e.g. event handler. After I started to use this DataTemplate, the Reflection has disappeared, how can I start it again?

Thank you very much!

Péter Tóth

Martin Ivanov
Telerik team
 answered on 13 Nov 2015
4 answers
128 views
Hi,

Power Builder 12.0.NET will using Visual Studio Isolated Shell (now, still in beta version).Did Telerik  WPF Control fully support Power Builder 12.0.NET?Especially in Datawindow feature.If is support it, my company have a plan to use Telerik WPF Control.
Thanks.

Best Regard
Deny FS.
Martin Ivanov
Telerik team
 answered on 13 Nov 2015
4 answers
66 views

I have noticed that when using Intersection PropertySetMode that property change notifications from Objects in the List of items are not used by the property grid. Is this a known limitation or a bug?

 

I am using version 2015.2.728.

 

PropertyGrid.PropertySetMode = PropertySetOperation.Intersection;
PropertyGrid.Item = new List<Object> { myObject1, myObject2 };

 

// Property change notifications from myObject1 and myObject2 do cause the property grid values to update.

Stefan Nenchev
Telerik team
 answered on 13 Nov 2015
1 answer
257 views

Hi

i am wpf programmer and use telerik grid view for showing database table.

i have a GridViewComboBoxColumn in my grid and the combobox items for each row is different.

how can i bind data for each row combo in run time?

Dilyan Traykov
Telerik team
 answered on 13 Nov 2015
1 answer
226 views

I want to get row value after i click a cell. I try using SelectionChanged and follow so many Q&A in many forum and still can't do this. maybe if you guys can give me an example for this, maybe after click a cell it will give message about every value in that row?

here is my whole code, i hope telerik team can help me.

XAML

<Grid>
        <StackPanel x:Name="xPanel">
            <telerik:RadGridView x:Name="dataGrid"
                                 AutoGenerateColumns="False"
                                 ColumnWidth="*"
                                 ShowGroupPanel ="False"
                                 CanUserReorderColumns ="False"
                                 ItemsSource="{Binding}"
                                 SelectionChanged="dataGrid_SelectionChanged">
                <telerik:RadGridView.Columns>
                    <telerik:GridViewDataColumn Header="idx"
                                                DataMemberBinding="{Binding idx}" />
                    <telerik:GridViewDataColumn Header="tag"
                                                DataMemberBinding="{Binding tag}" />
                    <telerik:GridViewDataColumn Header="value"
                                                DataMemberBinding="{Binding value}" />
                </telerik:RadGridView.Columns>
            </telerik:RadGridView>
            <telerik:RadButton Content="Update" Height="30" Click="RadButton_Click" />
        </StackPanel>
    </Grid>

CS

namespace Setting
{
    public partial class MainWindow : Window
    {
        ScimoreDataAdapter dataAdp;
        DataSet ds;
 
        public MainWindow()
        {
            InitializeComponent();
 
            string dbInstanceName = "C:\\Users\\Abc\\Documents\\Visual Studio 2010\\Projects\\Setting\\Setting\\configdb";
            ScimoreEmbedded em = new ScimoreEmbedded();
            em.Open(dbInstanceName);
 
            try
            {
                using (ScimoreConnection cn = em.CreateConnection())
                {
                    cn.Open();
                    string query = "select idx,tag,value from config.info";
                    dataAdp = new ScimoreDataAdapter(query, cn);
                    DataTable dataTable = new DataTable("info");
                    ds = new System.Data.DataSet();
                    dataAdp.Fill(ds, "info");
                    dataGrid.ItemsSource = ds.Tables[0];
                    dataAdp.Update(ds, "info");
                }
            }
            catch (Exception)
            {
            }
        }
 
        private void RadButton_Click(object sender, RoutedEventArgs e)
        {
             
        }
 
        private void dataGrid_SelectionChanged(object sender, SelectionChangeEventArgs e)
        {
            //System.Data.DataRowView CurrentSelected = ((System.Data.DataRowView)dataGrid.SelectedItem);
            //MessageBox.Show(Convert.ToString(CurrentSelected.Row.ItemArray[1]));
        }
    }
}

Dilyan Traykov
Telerik team
 answered on 13 Nov 2015
9 answers
155 views
I am loading a scanned PDF in the PDFViewer and if I navigate away from the page that is loading the pdf before the image of the pdf is finished rendering it causes the following exception: "The given key was not present in the dictionary"

I believe the exception comes from ImageLoader_WorkCompleted method from the Telerik.Windows.Documents.Fixed dll.
Tanya
Telerik team
 answered on 13 Nov 2015
0 answers
81 views
Hello,

I have downloaded and install a very beautiful Telerik winform application. I found a very nice tab control (We say probably radpageview to it in winforms) with a little close image aligned at right side. I am really impressed and want to create it in wpf. Telerik TabControl doesnot fullfill this behavior by default. I actually need to implement it dynamically when a user click on button. For example when a user click on button a tab control should be created dynamically as you can see in attached image.

I want to achieve this by using mvvm/xaml pattern using as much as simple example code. If you please send a sample project with complete code implementation i will be really glad and thankful.

 
Rauf
Top achievements
Rank 1
 asked on 12 Nov 2015
0 answers
78 views

Hello,

I have downloaded and install a very beautiful telerik winform application. I found a very nice tab control (We say probably radpageview to it in winforms) with a little close image aligned at right side. I am really impressed and want to create it in wpf. Telerik TabControl doesnot fullfill this behavior by default. I actually need to implement it dynamically when a user click on button. For example when a user click on button a tab control should be created dynamically as you can see in attached image.

I want to achieve this by using mvvm/xaml pattern using as much as simple example code. If you please send a sample project with complete code implementation i will be really glad and thankful.

 

Rauf
Top achievements
Rank 1
 asked on 12 Nov 2015
1 answer
87 views

Hi,

I'm seeing this "you are using unsupported command line flag --disable web security" error message in Chrome (Version 46.0.2490.86 m)​, which appears to be coming from Telerick's Test Studio plugins, as I don't see them when those are disabled.

Is there a way to get rid of that error message?

Thanks,

Arcady

Julia
Top achievements
Rank 1
 answered on 12 Nov 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?