List
<System.Windows.Controls.ListBoxItem> theItems=new List<System.Windows.Controls.ListBoxItem>();
...
// Fill List with several items...
...
[radDropDownButton].DropDownContent=theItems;
but nothing worked correctly.
Does anybody know how to fill it so that when it drops down, it displays the contents?
Is there any documentation about how to use the Telerik Controls? It seems like there are only examples and class documentation, but no real manual like "How to use the ... control".
Thank you,
Bernd.
Is it possible to trigger OnMouseOver style depending of another control OnMouseOver state?
Specifically I would like to trigger OnMouseOver style on a RadButton when user hovers a RadComboBox.
Hi,
i use telerik framework and visual studio 2015 to create automation tests for Silverlight application.
On UI Page i have RadButton. But it does not have properties Name. How can i verify that this Button exists on page?
How i can find it?
I try to do smth like this RadButton rButton = NMOapp.Find.......
<
telerik:RadButton
Grid.Column
=
"0"
HorizontalAlignment
=
"Left"
Command
=
"{Binding ResetResultCommand, Mode=OneWay}"
Content
=
"{Binding ControlCaptions.ClearFields_Label, Source={StaticResource ResourceWrapper}}"
ToolTipService.ToolTip
=
"{Binding ControlCaptions.ClearPositionReportsSearchFields_Tooltip, Source={StaticResource ResourceWrapper}}"
/>
Hi,
in my application we are creating rad button like this:
var tool = new RadRibbonButton()
{
Text = caption,
Size = ButtonSize.Large,
LargeImage = img
};
I am automation engineer. I have to add automation id here. How can I add it? Need help
Regards,
Gaurav
I’m using RadDropDownButton inside DataForm, it contains RadTreeView from which user can select item. This property is required in my model, so when validation is performed in validation summary error message appears, but RadDropDownButton style is not changed (red border and tooltip). Is it possible to set this style (like for RadComboBox).
Best regards,
Predrag
Hi,
I don't know if this is by design or not but I thought the default Silverlight button and the Telerik RadButton are supposed to work the same, but I've found a case where they're behaving differently.
I have a button defined like this:
<
Button
Content
=
"..."
Command
=
"{Binding MyCommand}"
IsEnabled
=
"{Binding MyIsEnabledProperty}"
/>
MyCommand is of type DelegateCommand but without a CanExecute specified.
MyIsEnabledProperty is a simple boolean property.
In this case the button is enabled or disabled depending on the value of MyIsEnabledProperty
However if I change the button to a RadButton instead like this:
<
telerik:RadButton
Content
=
"..."
Command
=
"{Binding MyCommand}"
IsEnabled
=
"{Binding MyIsEnabledProperty}"
/>
Then IsEnabled is not working as I would expect anymore, adding a CanExecute to my DelegateCommand makes it behave as
expceted again.
So it looks like the order in which properties are evaluated are differenet between the Button and RadButton.
Tomas