Telerik Forums
UI for Silverlight Forum
16 answers
493 views
Hi,

I am trying to automate web based application based on Silverlight technology. For this purpose i am using Selenium rc and making use of java for the automation purpose. Can anyone give me a simple code in java how to automate any silverlight object lets say a button or a dropdown etc. I tried googling but when it comes to automation of silverlight using selenium, I am not getting anything which is relevant to my use. Please help me out.

Thanks in advance,
Kil
smita
Top achievements
Rank 1
 answered on 17 Nov 2018
6 answers
721 views
Hello,

maybe this is an easy one for anybody (but not for me). I could find a lot of examples using the radDropDownButton but all of them do fill the drop down list through the .XAML file, not dynamically.
I tried several things like 

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.

Muthuraj
Top achievements
Rank 2
 answered on 06 Dec 2017
5 answers
496 views

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.

Tim
Top achievements
Rank 1
 answered on 06 Jan 2017
1 answer
26 views

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}}" />

Peshito
Telerik team
 answered on 31 Aug 2016
1 answer
347 views

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

Kiril Vandov
Telerik team
 answered on 14 Jul 2015
5 answers
60 views

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

Pavel R. Pavlov
Telerik team
 answered on 09 Mar 2015
10 answers
277 views

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

Petar Mladenov
Telerik team
 answered on 03 Mar 2015
7 answers
944 views
I extensively use RadButton (Silverlight), with an integrated office black theme. I'd like to change the buttons to have rounded edges, but I guess that involves editing the default template. I like the template (office black) and I don't want to change it. However, I'd like to add rounded edges, if that's possible in any simple way.

Any suggestions?
Marin Bratanov
Telerik team
 answered on 12 Feb 2015
8 answers
1.1K+ views
Hi Telerik Team,

Is it possible to put image in RadButton?

how to make it possible ?

please let me know. if you can come with small code then it will be very helpful for me.


waiting for reply.


Thanks
Chetan
Masha
Telerik team
 answered on 13 Oct 2014
3 answers
169 views
Hi Friends,

i want to add Add Refresh,Minimize,Maximize buttons to telerik RadTileView please help me how to add ...

Please see the bellow image I need this type of buttons to teleric tileview

thanks
Zarko
Telerik team
 answered on 31 Jan 2014
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?