Telerik Forums
UI for WPF Forum
1 answer
150 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
244 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
288 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
143 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
296 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
129 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
113 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
459 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
256 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
3 answers
219 views
hello,

I need to dynamically mark on a map a few locations in the described way:
1. each location should be marked by a circle 
2. the center of the circle should be the location (latitude and longtitude)
3. and the radius of the circle needs to be 4KM (4000 meters) 

so when the user changes zoom level
the center of the circle should stay on the same exact location
and the radius should change according to the zoom level to reflect a 4KM at all times

i would also like the circles to be drawn dynamically, via code (not static file)  
and also fade out after, lets say, 15 seconds

is that possible?
should i use mapshape? or hotspots?
should i use information layer or dynamic layer
i am very confused with all the options
can you please make an example like that?

i need to know if radmap supports such a scenario
and can manage that

thank you very much
i realy hope this can be done..

Pavel R. Pavlov
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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?