Telerik Forums
UI for WPF Forum
6 answers
268 views

Hello,

I want to print a RadScheduleView using MVVM.

Any help please.
Amaravathi
Top achievements
Rank 1
 answered on 12 Feb 2015
1 answer
132 views
Hi!

I wish to disable column resizing (for example, DataGridViewColumn) while editing cell in standard manner. When I type too long text in cell then column width is growing up that is unnecessary for me. I tried to set column width in design time to "Auto" or to particular width - no effect at all. Can anybody help me?
Dimitrina
Telerik team
 answered on 12 Feb 2015
1 answer
214 views
I have this class

public class myObject
  {
 
  public String Name { get; set; }
  public List<String> Tags{get;set;}
 
 
  }
this ViewModel
public class ViewModelMainWindow:ViewModel
  {
 
  System.ComponentModel.ICollectionView m_myListOfObject;
 
  public ICollectionView MyListOfObject
    {
    get { return m_myListOfObject; }
    set { m_myListOfObject = value; }
    }
 
 
 
  }
I initialize my App
public partial class App : Application
  {
  MainWindow m_ViewMainWindow;
  ViewModelMainWindow m_ViewModelMainWindows;
 
  List<myObject> m_myListOfObject;
 
  protected override void OnStartup(StartupEventArgs e)
    {
    Init();
    m_ViewMainWindow.Show();
    }
 
  void Init()
    {
    m_ViewMainWindow = new MainWindow();
    m_ViewModelMainWindows = new ViewModelMainWindow();
 
 
    PropertyGroupDescription groupDescriptionPorte = new PropertyGroupDescription("Tags");
 
    m_myListOfObject = new List<myObject>();
 
    m_myListOfObject.Add(new myObject());
 
    m_myListOfObject.Last().Name = "Element 1";
    m_myListOfObject.Last().Tags = new List<string>();
    m_myListOfObject.Last().Tags.Add("Tag 1");
    m_myListOfObject.Last().Tags.Add("Tag 2");
    m_myListOfObject.Add(new myObject());
 
    m_myListOfObject.Last().Name = "Element 2";
    m_myListOfObject.Last().Tags = new List<string>();
    m_myListOfObject.Last().Tags.Add("Tag 1");
    m_myListOfObject.Last().Tags.Add("Tag 3");
    m_myListOfObject.Add(new myObject());
 
 
    m_myListOfObject.Last().Name = "Element 3";
    m_myListOfObject.Last().Tags = new List<string>();
    m_myListOfObject.Last().Tags.Add("Tag 2");
    m_myListOfObject.Last().Tags.Add("Tag 4");
 
 
 
    m_ViewModelMainWindows.MyListOfObject = CollectionViewSource.GetDefaultView(m_myListOfObject);
 
    m_ViewModelMainWindows.MyListOfObject.GroupDescriptions.Add(groupDescriptionPorte);
 
    m_ViewMainWindow.DataContext = m_ViewModelMainWindows;
 
 
    }
  }

How can I view the groups by tags "Tag 1", "Tag 2", "Tag 3", "Tag 4" in a RadGridView?
In m_ViewModelMainWindows.MyListOfObject I have 4 groups, but in RadGridView of MainWindow I have 3 groups of list.

The MainWindow.xaml is
<Window
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" x:Class="grouping_by_tags.MainWindow"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="137*"/>
            <RowDefinition Height="183*"/>
        </Grid.RowDefinitions>
 
        <telerik:RadGridView HorizontalAlignment="Left" Height="320" VerticalAlignment="Top" Width="517" ItemsSource="{Binding MyListOfObject}" Grid.RowSpan="2"/>
 
 
    </Grid>
</Window>

Best regards

Riccardo
Stefan
Telerik team
 answered on 12 Feb 2015
18 answers
258 views
Hello!

I use merge field type otherwise you offer and I have two questions about it. 

1. How can I redraw field from code then I update any properties in it?
2. How can I make two way binding for field result value (e.g. it calls my function then I change field in editor)?

Thank you.
Boby
Telerik team
 answered on 12 Feb 2015
1 answer
120 views
I have a problem with RadPieChart , when i get a small series then labels overlap. I will apreciate your help
Petar Marchev
Telerik team
 answered on 12 Feb 2015
3 answers
243 views
Could not load file or assembly 'EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. 

I am using EF version 6.  How can I make this work?
daniel
Top achievements
Rank 1
 answered on 12 Feb 2015
1 answer
95 views
Hi,

I got some axis on the left and right side and it turns out the left margin of the plot area is a few pixels thick when the right margin is not. 
Left side: https://dl.dropboxusercontent.com/u/55589036/Pictures/Screenshots/20150210105316.png
Right side: https://dl.dropboxusercontent.com/u/55589036/Pictures/Screenshots/20150210105510.png

How can I add the same margin to the right side as it appears on the left side?
Petar Marchev
Telerik team
 answered on 12 Feb 2015
1 answer
94 views
Is there a way to limit which shapes can be connected? 

For example, my diagram has three shapes, Ellipse, Hexagon and Star. Ellipse can be connected to Star and Hexagon can be connected to Star; however, Ellipse can never be connected to a Hexagon.

Milena
Telerik team
 answered on 12 Feb 2015
6 answers
421 views
Hi

Want to export RadGridView data to PDF document. Tried to do this by following link below

http://demos.telerik.com/silverlight/#GridView/PrintAndExportWithRadDocument

Able to export and format document but unable to display grid header on each page. Need your assistance on this.

I am using .net 4.0 and Telerik version: UI for WPF Q3 2014

Sheraz
Top achievements
Rank 1
 answered on 12 Feb 2015
1 answer
224 views

How can I get the source and target of a connection in runtime?
I tried this event from RadDiagram ConnectionManipulationCompleted, but it gives me the target is null, while I'm sure I linked it to the second shape.
If there is a way to get all connections for for each RaddiagramShape it would be much better than hitting an event inside the RadDiagram.
Please, reply me as fast as possible.

Thank you. 
Milena
Telerik team
 answered on 12 Feb 2015
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?