Telerik Forums
UI for WPF Forum
2 answers
198 views

I am trying to implement a solution where a RadPane can be maximized/restored. My solution is based on this topic http://www.telerik.com/forums/add-maximize-button-to-radpane-header, which unfortunately is very much incomplete. I have updated the solution (using Q1 2016) to be a more complete solution that handles different scenarios and have one last thing to figure out (at least at this point). When I maximize the only RadPane in the RadPaneGroup, the group is removed from RadSplitContainer (since I took the only pane out of the group). So when I try to restore layout, I need to add RadPane to the RadPaneGroup and then place RadPaneGroup back to the original location in the RadSplitContainer - this is unfortunately something I have not been able to figure out.

 

Here is how to see what I am trying to do. Take the solution from link (I used VS 2015 with dot.net 4.6.1). Run it, then drag Panel 1 from left side to the right of the window, so you end up with 2 RadPaneGroups each with 1 RadPane. Maximize the RadPane on right side and then restore it. What you will see is the restored pane is no longer on the right of the window, but is docked to the left right next to the other pane. In code in MainWindow.xaml.cs, this logic is on line 76. All I do is add it to the RadSplitContainer.Items collection and it places it on the left. I need help figuring out how to place it back where it was before maximize logic was executed.

https://drive.google.com/file/d/0B9CRDbP2kUo7dzZkcDY3Z2tXQUk/view?usp=sharing

Thank You

Vladi
Telerik team
 answered on 19 Jan 2016
3 answers
774 views
Does anyone know how to take the highlight off of the radtreeview when the mouse hover over it. Thank-You.

Evgenia
Telerik team
 answered on 19 Jan 2016
3 answers
136 views

Hi,

I would like to hide a TileGroup depending on a property in my ViewModel, I mean something like this :

<telerik:TileGroup Header="Header" Visibility={Binding MyProperty, Converter={StaticResource BooleanToVisibility}} />

Is there a way to achieve this ?

 

Thanks,

Rémi.

Stefan Nenchev
Telerik team
 answered on 19 Jan 2016
3 answers
129 views

Hi,

I need to be able to display census tract shape date from the Census Bureau. I'm able to read in the shape file just fine but once I do the performance to drag and pan the map goes down. 

Any suggestions on how to improve performance? I've tried simplifying the shape data and while it helps a little its still slow.

If that's just the nature of the beast is there a way to clear out all the shape data from the visualization layer? Hiding the layer doesn't seem to restore the performance?

 

Petar Mladenov
Telerik team
 answered on 19 Jan 2016
7 answers
403 views

My grid has a comboBox column. But my binding isn't quite working the way I want. Here is my code:

<telerik:GridViewComboBoxColumn Header="Action" UniqueName="Action"
          DataMemberBinding="{Binding ActionID, Mode=TwoWay, ValidatesOnDataErrors=True}"
          SelectedValueMemberPath="ActionID" DisplayMemberPath="Name"
          ItemsSource="{Binding DataContext.Actions, RelativeSource={RelativeSource Mode=FindAncestor,AncestorType=UserControl,AncestorLevel=2}}"
          IsComboBoxEditable="True">
 <telerik:GridViewComboBoxColumn.CellTemplate>
          <DataTemplate>
                 <TextBlock Text="{Binding Action.Name}" />
           </DataTemplate>
  </telerik:GridViewComboBoxColumn.CellTemplate>
</telerik:GridViewComboBoxColumn>

When the row loads, the value for this comboBox displays. But when the user changes it or selects a value for a new row, it doesn't display the value until the row is committed. I know this is because I'm displaying the value of Action.Name, but binding the selected value to ActionID.

Is there any way I can get it to show the Name property before its been committed? I could if I don't use a CellTemplate and just use the comboBox, but then there are some records that have an action that isn't a current available option in the drop down. So if I don't use the CellTemplate, then those will display blank because there isn't a matching item in the drop down. Make sense?

How do I accomodate both?

Ivan Ivanov
Telerik team
 answered on 19 Jan 2016
1 answer
167 views

Holle

 We used a listbox as a popup to show drop-down box under the hyperlinks in Radrichtextbox, but we can not locate the position of the listbox (drop-down box). We located the position at the Caret now, but this did not meet our requirement. We plan to locate the position at the start of a hyperlink, could you please help us.

What we should explain is that: the language we used is Chinese, far from English words, there is no space between Chinese words in a sentence, 

the English sentences: Telerick is a very good company.

but in Chinese, the sentence is: Telerick是一个非常好的公司

We located the position of caret, and calculated the length between the start and the end of hyperlink, and put the listbox at the position :caret-the length. But the listbox always display in a wrong position..

Thanks a lot, we hope your answer.

 

 

 

 

 

Todor
Telerik team
 answered on 19 Jan 2016
2 answers
123 views

Hi, 

I'm using the Swimlane Demo, and I have a problem in Example.xaml.cs line 96 -  SamplesFactory.LoadSample(this.diagram, "SwimlaneDiagram"); 

I can't find the "SamplesFactory", it doesn't exist any other place. Maybe it's in a different reference? Where can I find it?

 

Best Regards

Prime Minister Office
Top achievements
Rank 1
 answered on 18 Jan 2016
4 answers
206 views

Hi,

I'm trying to do something that very similar to the TableShape demo example.

In the example there is a class named TableAdditionalContent, that inherited from a class named AdditionalContent ( public class TableAdditionalContent : AdditionalContent )

I use all the references in the example (except the 2 that belong only the example), but my VS can't find completion to the AdditionalContent  class (it's just can't find it in any reference i guess...).

 I would like to get some help to know is there maybe a missing reference that the AdditionalContent  class need or any help..

This is the example code from the demo:

using System;
using System.Linq;
using System.Windows;
using System.Windows.Input;
using Telerik.Windows.Controls;
using Telerik.Windows.Controls.Diagrams.Extensions.ViewModels;
using Telerik.Windows.Diagrams.Core;
using Telerik.Windows.Examples.Diagrams.Swimlane;
using Telerik.Windows.Examples.Diagrams.TableShape.Models;

namespace Telerik.Windows.Examples.Diagrams.TableShape
{
    public class TableAdditionalContent : AdditionalContent

}

 

Thank U!

Prime Minister Office
Top achievements
Rank 1
 answered on 18 Jan 2016
1 answer
106 views

Good Evening,

 

I have a WPF Window with 3 Row. In the first there's a ribbon, in the second a RedTileList and in the third is a series of label (like a status bar).

 

In the RadTileList I've sono tiles and I want to know if it's possibile to do this 2 things:

1) When I click on a Tile, a new WPF Windows in initialized and the window must fit only the second row (the row where it's the RadTileList)

2) In this new Window if i click the close button the window will close, but if I click the Minimize button the window will be resized and it can be displayed such as the controls in RadPane.

 

In attachments sono images to better explain the request.

 

Thanks

Dilyan Traykov
Telerik team
 answered on 18 Jan 2016
12 answers
253 views
Hi
I am using Telerik version Q3 2013. I want to use my custom control instead of RadDateTimePicker control according to this post in row filter mode in Gridview. My Gridview columns are dynamic. Please provide with the source code so that I can apply this change as I want.
Dilyan Traykov
Telerik team
 answered on 18 Jan 2016
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?