Telerik Forums
UI for WPF Forum
2 answers
120 views
I have a QueryableDataServiceCollectionView that contains hierarchical data: Contracts and Contract Amounts.

I would like to bind the QueryableDataServiceCollectionView to separate RadGridViews (one for contracts, and one for the contract amounts base on the selected contract).

I have successfully done the above in a single RadGridView  using the HierarchyChildTemplate, but would prefer to separate the above into separate grids.

Is this possible?

Any assistance on this is Much Appreciated.

-MikeF





Michael
Top achievements
Rank 1
 answered on 12 Feb 2015
1 answer
160 views
Wasn't sure how to report this, so I will post it in the forums.

Your Demos for Expression Editor in WPF are broken on both the installed version and the source.

Reproduce In Source Demos:

1. Explore All Controls
2. Click Expression Editor
3. Boom Blows up on line 223 of the SingleExampleViewModel.cs file (In the downloable Demos) -- 
4. File Not Found Exception
5. An exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll but was not handled in user code

Additional information: Could not load file or assembly 'ExpressionEditor, Culture=neutral' or one of its dependencies. The system cannot find the file specified.

Reproduce in installed Demos:
1. Explore All Controls
2. Expression Editor
3. More Choices (Either of the RadGrid Integration).
4. Attached Screenshot.


Works on the Silverlight online examples, but there is only one option, and I was looking at the other.

Regards,

Bart



Dimitrina
Telerik team
 answered on 12 Feb 2015
2 answers
167 views
hi 

1- is it possible to  handle the event when the user rename a sheet ?
2- how to add a new sheet in Sheetselector?
nacer eddine
Top achievements
Rank 1
 answered on 12 Feb 2015
10 answers
498 views
Hi,
I export to Excel and it work fine, but when one of the rows contains a xml value I get an error when opening up the exported file in Excel: 

"Problems during load:
Problems came up in the following areas during load:
Table - file cannot be opened because of errors."

The error log is like this:
XML PARSE ERROR:  Malformed or illegal processing instruction
  Error occurs at or below this element stack:
    <ss:Workbook>
     <ss:Worksheet>
      <ss:Table>
       <ss:Row>
        <ss:Cell>
         <ss:Data>

I guess Excel gets confused when there's two xml tags in the file?
I use 'xml' extension and ExportFormat.ExcelML

I read another thread about export where there was a problem regarding german umlaut letters.
The solution was to use encoding

byte[] buffer = Encoding.UTF8.GetBytes("<meta charset=\"utf-8\">");
stream.Write(buffer, 0, buffer.Length);

I there a similar way to fix this? to somehow format/encode the xml value so that the file can be exported.... 
Dimitrina
Telerik team
 answered on 12 Feb 2015
6 answers
320 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
160 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
262 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
304 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
158 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
318 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
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
InlineAIAssistant
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?