Hi,
I have a FilePathPicker with DialogType="OpenFile". Is there a way to set a default directory so that wen a user wants to pick a file, the FilePathPicker opens the the dialog with the files in this directory ?
Regards,
Hans
Bonjour
Lorsque j'ouvre un PDF à l'aide du bouton "Ouvrir" de la radtoolbar DE PdfViewer, j'aimerais obtenir le chemin du PDF sélectionné. Quelle est la meilleure façon à procéder?
Merci
We are currently setting up some tests with Microsofts UI Automation.
For my next steps I'm searching for a way to implement selection for GridView rows.
So far I couldn't really find any documentations how to deal with this with Telerik controls in detail.
Currently I access the grid, grid row and grid row cells as follows:
AutomationElement radGridView = Element.TryFindId (OrderConstants.ORDER_GRID_ID);
AutomationElementCollection orderRowElements = radGridView.FindAll (
TreeScope.Descendants,
new
PropertyCondition (AutomationElement.ClassNameProperty,
"GridViewRow"
));
int
rowId = 0;
foreach
(AutomationElement orderRowElement
in
orderRowElements)
{
((SelectionItemPattern) orderRowElement.GetCurrentPattern(SelectionItemPattern.Pattern)).Select()
// Is Not Supported Pattern
AutomationElement elem = orderRowElement.TryFindId ($
"Cell_{rowId++}_0"
);
((SelectionItemPattern) elem.GetCurrentPattern(SelectionItemPattern.Pattern)).Select()
// Is Not Supported Pattern
}
How can I select
How is the RadGridView intended to be used in a automated way?
Currently I'm using .Net Framework 4 with Telerik Version 2018.3
Any help is appreciated, thanks.
Hello!
I'm trying to figure out how to get the contents of my grid to sort by a property member that is not exposed to the UI via a column. The item source for my grid comes from a collection view defined on my ViewModel. This collection view has sort descriptors defined in C#, one of which is to sort by a boolean property that is not bound to a column on the grid, but that sort descriptor is not honored at run-time.
Any assistance is appreciated.
We have this sort of filter
private CompositeFilterDescriptor _deletedNewFilterDescriptor = new CompositeFilterDescriptor()
{
LogicalOperator = FilterCompositionLogicalOperator.Or,
FilterDescriptors =
{
new FilterDescriptor("Column1", FilterOperator.IsNotEqualTo, "MyState"),
new FilterDescriptor("Column2", FilterOperator.IsNotEqualTo, "YourState")
}
};
and at some point when we refresh the grid, the rows that should be filtered get displayed. So we have to do something like this which also fails on occasions
void grd_loaded(object sender, RoutedEventArgs e)
{
// For some reason, adding filters in constructors gets cleared somewhere, so add in Loaded methods.
if (!grd.FilterDescriptors.Contains(_deletedNewFilterDescriptor))
grd.FilterDescriptors.Add(_deletedNewFilterDescriptor);
}
Any help would be appreciated. Because we will have to filter those rows at the SQL fetching time and not afterwards. This means changing the existing code.
Hello,
I've got a problem. I need to show many values and RadGrid takes a big amount of time to load data (1 minute)
I thought about virtualization, but I didn't like the partial loading of data. and it makes lots of troubles for me.
Is there any possibility to load partly data to Radgrid?
I mean to show 100 of values., +100 and +100 until fully loaded The db access is fast, only the control shows them really slow.
Regards
How can I set the RadDateTimePicker selected value to current date?
I have a form for adding new record with RadDateTimePicker binded to DateTime? datatype. Since this is for new record, the expected datetime value is NULL.
How can I set the RadDateTimePicker selectedvalue to current date on form load and not NULL/Empty.
Thanks you.