Telerik Forums
UI for WPF Forum
0 answers
155 views
We have identified several occurrences of multiple/duplicated ToolBox items existing in the Visual Studio Toolbox. Unfortunately these seem to stem from a glitch in Visual Studio, which was still not reproduced reliably so that we can fix it, or ask Microsoft for a fix.

Below are the different kinds of occurrences and their possible fixes:

    * Duplicate Toolbox items, remaining two entries per control:
          o this could be a result of having parallel RadControls installations, which is the correct behavior (Visual Studio 2008 only)
          o this could be the result of an improper deregistration of an older RadControls distribution, followed by the registration of the newer one. Usually either of the two approaches below helps fixing the problem:
                + Close Visual Studio instances, start Windows Explorer, navigate to %localappdata%\Microsoft\VisualStudio\10.0 and delete the *.tbd files
                + Right-click the Toolbox inside Visual Studio and click Reset
    * Multiple entries per control, number increasing with each start of the IDE: this is the worst scenario we have come across. All the registry entries and files on the customer machine seemed fine in this case. The only fix we were able to apply was a complete uninstall of RadControls and Visual Studio 2010, followed by a clean install of the IDE and the RadControls.

Kind regards,
Erjan Gavalji
The Telerik team 
Telerik Admin
Top achievements
Rank 1
Iron
 asked on 21 Dec 2010
1 answer
181 views
Hi, how can I get screenshot of sparkline?

I do the following:

RadSparklineBase sparkline = new RadLinearSparkline();sparkline.XValuePath = "X";sparkline.YValuePath = "Y";sparkline.Margin = new Thickness(0);sparkline.Width = width;sparkline.Height = height;sparkline.ItemsSource = new SparkPoint[]{new SparkPoint(10, 10),new SparkPoint(10, 20),new SparkPoint(20, 10),new SparkPoint(10, 5)};DrawingVisual visual = new DrawingVisual();using (visual.RenderOpen()){new VisualBrush sparkline);}using (MemoryStream stream = new MemoryStream()){Rect rect = new Rect(0, 0, (int)width, (int)height);RenderTargetBitmap renderTargetBitmap = new RenderTargetBitmap((int)width, (int)height, 96, 96, PixelFormats.Pbgra32);sparkline.Arrange(rect);renderTargetBitmap.Render(sparkline);PngBitmapEncoder pngBitmapEncoder = new PngBitmapEncoder();pngBitmapEncoder.Frames.Add(BitmapFrame.Create(renderTargetBitmap));pngBitmapEncoder.Save(stream);stream.Flush();image = Image.FromStream(stream);}

Is it possible to make it work? Thanks.
Yavor
Telerik team
 answered on 21 Dec 2010
4 answers
163 views
There seems to be a bug in the RadGridView. If I select the grid and press the delete shortcut key, the selected row is removed from the grid. If I edit a cell before trying to select a row and deleting it; the delete shortcut stops working (pressing it has no effect). The grid is bound to a BindingList. I have noticed the same effect on two different grids, I've also noticed that if I remove an item from the bound collection, the radgridview updates as expected (its just the delete shortcut which is gone). Is this a known issue, and are there any workarounds for it?

I've also created a custom command provider and observed that the delete command is being created and sent to the grid after the del key is pressed.

Update:

I've managed to reproduce this in a small test project.

This is what I bound to:

    internal class ViewModel
    {
        private readonly BindingList<Item> _items = new BindingList<Item>();

        public ViewModel()
        {
            _items.Add(new Item{ A = "First item", B = "howdy"});
            _items.Add(new Item { A = "Second item", B = "doodle" });
        }

        public BindingList<Item> Items
        {
            get { return _items; }
        }
    }
}

This is the view:

<Window x:Class="TelerikWpfBugs.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Window1" Height="300" Width="300" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
    
    <Window.Resources>
        
        <Style TargetType="telerik:RadGridView">
            <Setter Property="AutoGenerateColumns" Value="False"></Setter>
            <Setter Property="KeyboardNavigation.TabNavigation" Value="Continue"></Setter>
            <Setter Property="telerik:StyleManager.Theme" Value="Office_Blue"></Setter>
            <Setter Property="ShowGroupPanel" Value="False"></Setter>
            <Setter Property="ShowColumnHeaders" Value="False"></Setter>
            <Setter Property="RowIndicatorVisibility" Value="Collapsed"></Setter>
            <Setter Property="IsFilteringAllowed" Value="false"></Setter>
        </Style>

    </Window.Resources>
    
    <Grid>
        <telerik:RadGridView ItemsSource="{Binding Items}" ShowInsertRow="true">

            <telerik:RadGridView.Columns>

                <telerik:GridViewDataColumn Header="A" DataMemberBinding="{Binding A}"></telerik:GridViewDataColumn>
                <telerik:GridViewDataColumn Header="B" DataMemberBinding="{Binding B}"></telerik:GridViewDataColumn>
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>
    </Grid>
</Window>

3. Just set the viewmodel as the datacontext for the window upon initialization.

Steps to reproduce (i'm using the wpf q2 2010 sp2 release) :

1. Start test project, notice that you can select rows and delete them
2. Restart test project, double click on a cell to put it into edit mode
3. Go out of edit mode by pressing "escape"
4. Try hitting the del key, the selected row will not be deleted.

I've submitted a support ticket on the issue: 378153
Marius
Top achievements
Rank 1
 answered on 21 Dec 2010
5 answers
215 views
Hi

I have a hierarchy structure like this. Can i use RadTreeList to display the structure. I understand we can SelfReferenceHierarchy feature of RadGridView but is this supported in RadTreeListView

Task 1
    Task 1.1
        Task 1.1.1
Task 2
    Task 2.1

The problem I am facing with RadGridView is that columns are not coming up aligned so i wanted to see if RadTreeListView solves my problem

Regards
Kiran
Pavel Pavlov
Telerik team
 answered on 21 Dec 2010
1 answer
93 views
I have the Q1 2010 Telerik controls.
We implemented the RadSchedulet and I implemented a custom AppointmnetTemplate.
When you move over an appointment an x appears and when you hover over this x it lights up. I want to add an extra button that has the same behavior style wise. but I can not find wich styles are applied to the button and also if I make a copy of the origonal AppointmentTemplate I can not find the button.
Can you give me the Xaml code for the origonal button so I can reuse it?
Konstantina
Telerik team
 answered on 21 Dec 2010
4 answers
113 views
  Hi

I'm trying to design a full screen interface where static panel with no boundary frames can have a dock panel on the right and on the bottom, but I don't know how to eliminate the header tab in the document pane and eliminate the margin frames.

 Is it possible to create such an interface with Dock Control?

 Regards,

Carlos.
Carlos
Top achievements
Rank 1
 answered on 21 Dec 2010
1 answer
52 views
Hi there,

this is a feature request :-)

I would like to have a DataForm control simular to the Silverlight DataForm control which is included within the Silverlight-Toolkit.

While the Silverlight DataForm allows to edit collections, I am more interested using the control for editing a single class/record.
I used the XAML PowerToys (http://karlshifflett.wordpress.com/xaml-power-toys/ scroll down for some screenshots) for a initial layout of a DataForm - would be really helpfull, if I can get something like that for the new WPF DataForm control.

What do you think?

Regards,
Sörnt


Pavel Pavlov
Telerik team
 answered on 21 Dec 2010
4 answers
100 views

Hello

  1. I have cell template with text block and button in grid Data column.

I need when the button clicked to copy the content of the cell to the cell below

Like control + D in excel.

How can I do this?

 We are working MVVM, I add picture of the cell.

 

  1. How I Reach to specific cell in grid and change is value?

Best regards

Ehud

 

 

Avi Avni
Top achievements
Rank 1
 answered on 20 Dec 2010
1 answer
116 views
Hello,

My problem is when I undock a RadPane and then I lose my transparent background of the PaneGroup and instead get a white(defualt) background of the floating container that I also want to be transparent.
I wanted to know if there is an event that is fired when a RadPane is being undocked (and the other way around). If there is I could find the floating container and set in code its backgorund to transparent.

Thank you
Konstantina
Telerik team
 answered on 20 Dec 2010
1 answer
79 views
Hi everybody,

I am using the RadTileView with the RadFluidContentControl. When I have many items in Restored mode, the TileViewItem shrinks itself hiding the content even if I put a fixed Height and Width and I cannot setup the scroll bars in this mode. Is this an issue? How can I do to enable the scroolbars and setup the minimum size for the TileViewItem in Restored mode?
Thanks in advance!

Christian

BTW: I am using the trial version of WPF RadControls Q3.
Zarko
Telerik team
 answered on 20 Dec 2010
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?