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();
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
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.
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?
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]));
}
}
}
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.
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