Telerik Forums
UI for WPF Forum
4 answers
111 views

Hello,

Does anyone know if it is possible to combine track changes the way Microsoft Word does?

Thanks!

Sue

Tanya
Telerik team
 answered on 14 Apr 2015
7 answers
285 views
I have a UI where I have use a RadListBox who's items are also RadListBoxes.  Thus nested RadListBoxes.

The focus behavior seems broken in this arrangement and does not match ListBox (or any sort of expected) focus behavior.

I've attached a project that illustrates the differences.  Compile and run the project and you will see a window with two columns.  On the left is the arrangement I describe constructed from ListBoxes and the right from RadListBoxes.  Try clicking to select items from the inner list boxes and the outer list box items on both and observe the differences in behavior.

I have hooked up LostFocus and GotFocus events to the outter listbox items to show how the RadListBox (unlike the ListBox) does not properly cause a LostFocus when you click on an outter list box item once an innter one is selected.  This also exhibits the "difficulty" in selecting these elements when the RadListBox is used.

I made a repo and attached an image to make it more clear what I'm doing.

The repo project itself can be downlaoded here: https://www.dropbox.com/s/axz897egh6wkvgf/RadListBoxFocusIssue.zip?dl=0

This seems to be a bug or design deficiency which is preventing me from properly using Telerik controls.  Or am I doing something wrong?







Kalin
Telerik team
 answered on 14 Apr 2015
5 answers
275 views
Hello.

I was writing UI-test for WPF application (using NUnit
Framework and ArtOfTests), and in my test I need to click on
RadDropDownButton:

                   <telerik:RadDropDownButton x:Name="btnDrop">
                        <telerik:RadDropDownButton.DropDownContent>
                            <telerik:RadContextMenu >
                                <telerik:RadMenuItem Header="op1" Command="{StaticResource op1CommandReference}"/>
                                <telerik:RadMenuItem Header="op2" Command="{StaticResource op2CommandReference}"/>
                                <telerik:RadMenuItem Header="op3" Command="{StaticResource op3CommandReference}"/>
                            </telerik:RadContextMenu>
                        </telerik:RadDropDownButton.DropDownContent>
                    </telerik:RadDropDownButton>

To click on this button, I use the following code:

var button = win.Find.ByName<Telerik.WebAii.Controls.Xaml.RadDropDownButton>("btnDrop");
button.User.Click(MouseClickType.LeftClick);

The test works fine (no exception have been thrown), but RadContextMenu does not appear.
When I click on this button using mouse, I can see this menu with 3 RadMenuItem items.

How can I solve this problem?
Boyan Boev
Telerik team
 answered on 14 Apr 2015
4 answers
91 views

Hi,

 

I have a problem with RadDock.

And I managed to reproduce it in a very small sample.

To explain what's going on - I serialize a RadDock when I leave a view - and restore it later when I come back (load again) to this view.

In the real application I store the values in a database - the attached sample uses simply a string to show the behavior.
I also found a post (which may be about the same problem).

http://www.telerik.com/forums/problem-with-loading-layout#4kMNn5jNsEuXcZtbd0k4-w

But this post is pretty old (2011) and there is a statement: "We will fix this problem with loading the layout in our future releases."

So I guess my problem is something different.

To show that the solution in general works try:

Move one window to the right side of the document pane.
Click V2 (which shows View 2) - Click V1 - and see the restored pane.
Drag the window out of the Dock to see it "free floating" - again switch the views - everything works fine.

To reproduce the problem do:
Close the floating window and switch the view.
Although the code runs and "CurVM" is set to the different view nothing happens.

In simple words - store / restore fails if I have a closed floating window.

 

Regards

Manfred

 

Nasko
Telerik team
 answered on 14 Apr 2015
1 answer
61 views

Hello,

I've not tried with other themes, but this problem is new in the Q1 2015 SP1 version of the controls.

See the screen shot for an example.

Kiril Vandov
Telerik team
 answered on 14 Apr 2015
4 answers
216 views

Hi,

 When ever I call GroupDescriptors.Reset() on the radgridview, the scroll bar is reset to the top.

Is there a way to avoid this.

 

I call groupdescriptor reset whenever one of the bound data changes and I need the group aggregate functions to trigger. Otherwise the aggregate function fails to update.

 

Thanks.

Manoj
Top achievements
Rank 1
 answered on 13 Apr 2015
3 answers
98 views

I'd like to duplicate the functionality of the Combobox in the grid. If IsComboBoxEditable is set to True and is IsReadOnly is set to True, it disable selecting anything in the column. What i really want is the ComboBox behavior IsEditable="True" IsReadOnly="True" allows you to type but only will select value rows.

How do I accomplish this? 

Michael
Top achievements
Rank 1
 answered on 13 Apr 2015
5 answers
242 views
We have an application wide theme that I need to override. Our application has a black background on everything but within the RadPdfViewer I need it to have a white background so the pdf files are easier to read. How do I override the background color just in this one control?
Vanya Pavlova
Telerik team
 answered on 13 Apr 2015
5 answers
234 views
Hello,

I'm using telerik 2012 for WPF (Telerik.Windows.Controls.GridView.dll file version is 2012.3.1129.40).

When applying grouping on a RadGridView, a row header is added, colored dark grey, in my case.

In addition, a narrow column appears as a first column.

Please see attached screenshot.

Can it be hidden? Can its style be customized?

Thanks,
Guy E.
Stefan
Telerik team
 answered on 13 Apr 2015
1 answer
76 views

I need to generate these 2 lines on my chart , i have already chart which generating points, but i need to generate these 2 lines one horizontal and one vertical

they cut each other, i have data which i need to call, 

 

but can you suggest me with some example would be great.

 

Please share some example.

Thanks in advance

 

Peshito
Telerik team
 answered on 13 Apr 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?