Telerik Forums
UI for WPF Forum
1 answer
55 views
Hello everybody...
I need to trap when a cell is edit through the keyboard.
How can I do?

Thanks!

Nick
Milan
Telerik team
 answered on 23 Sep 2009
3 answers
182 views
Hi,

We are working with some large numbers on the Radial Gauge. Some of these numbers are overlapping on our custom gauge unless the font size is set unacceptably low with few labels on the gauge. Also, large numbers (in the 10s of billions range) look rather square in contrast to the curved radial scale.

Is there any way to have tick label text curve around with the radial scale? Do you have any suggestions on the best approach?

Cheers,
Wayne Reid
Andrey
Telerik team
 answered on 23 Sep 2009
3 answers
86 views
Hello,

I recently installed TELERIK 2009Q2 for WPF and every thing went fine.

When I create a new project and add a gridview control using View -> Toolbox,
the control and all the other DLLs point to the library where the older Telerik version was installed (and still exist on my computer).

I did an automatic MSI install and not a manual one.

Your help will be most appreciated.

Erez
Milan
Telerik team
 answered on 22 Sep 2009
3 answers
219 views
I have downloaded the trial and demo for the WPF. Could someone tell me how the left navigation bar is built? This is the panel with all the images for each control in the toolkit that you can select.

I open it in VS and HomePage.xaml does not seem to contain it. Examples.xml seems to contain declarations for the items in the list.

I am new to WPF and Telerik so thanks for bearing with me.
SingleMalt
Top achievements
Rank 1
 answered on 22 Sep 2009
1 answer
160 views
hi all,

i wud like to have a column chooser in my contex menu, along with other menu items. please can you let me know if there is any control for column chooser in wpf. my context menu is against gridview control.

also, i have noticed that, in wpf demos, the code behind tab shows xaml code and codebehind is not available at all. it will be helpful if you can fix it.

Thank u,
sandy
Missing User
 answered on 22 Sep 2009
5 answers
222 views
Hello,

we need drag & drop function from a datagrid to a listview, our structure is in xml.

Is this possible?

We have not found a possibility to do databinding with an xml structure,
nevertheless that's our criterion to buy this software,

thx for your help.

With regards,
Matthias

p.s. Can we customize the style/design of the several templates?
Nikolay
Telerik team
 answered on 21 Sep 2009
4 answers
246 views
When I expand the column, to view the child table, I get the error: A TwoWay or OneWayToSource binding cannot work on the read-only property 'AddressFamily' of type 'System.Net.IPEndPoint'.

I had the same error on the parent table - but got around it by explicitly defining the columns and the column bindings as one-way. Not really sure why that was required either, but it worked. But, can't figure out how to do that for the child table. And, I'm not sure if this was the correct approach anyway. 

I get this scenario to work correctly with DataSets - but don't want to have to create DataSets for the  50+ objects I need to do this for.

Any thoughts? 

The datasource is a collection of custom objects.

XAML is...
<Window x:Class="WpfApplication1.Window1" 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Title="Window1" Height="313" Width="420" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" WindowStyle="ThreeDBorderWindow" SizeToContent="Manual"
    <Grid> 
        <Grid.Resources> 
        </Grid.Resources> 
        <telerik:RadGridView  
            Name="radGridView1"  
            AllowDrop="False"  
            ColumnsWidthMode="Auto"  
            AutoGenerateColumns="False" > 
            <telerik:RadGridView.Columns> 
                <telerik:GridViewDataColumn    
                    HeaderText="Name"   
                    DataMemberBinding="{Binding Path=Name, Mode=OneWay}"/> 
                <telerik:GridViewDataColumn   
                    HeaderText="HostName"   
                    DataMemberBinding="{Binding Path=HostName, Mode=OneWay}" /> 
                <telerik:GridViewDataColumn   
                    HeaderText="Type"   
                    DataMemberBinding="{Binding Path=Type, Mode=OneWay}" /> 
                <telerik:GridViewDataColumn   
                    HeaderText="Domain" 
                    DataMemberBinding="{Binding Path=Domain, Mode=OneWay}" /> 
            </telerik:RadGridView.Columns> 
        </telerik:RadGridView> 
    </Grid> 
</Window> 

code behind is:
    public partial class Window1 : Window 
    { 
        Browser browser; 
        BindingList<OtogramService> servicesBindingList = new BindingList<OtogramService>(); 
 
        public Window1() 
        { 
            InitializeComponent(); 
 
            // Create the browser 
            browser = new Browser("_http._tcp"); 
 
            // Hook the Updated event. 
            browser.Updated += new Browser.EventHandler(browser_Updated); 
 
            //create the relationship   
            var detailDefinition = new Telerik.Windows.Controls.GridViewTableDefinition(); 
            detailDefinition.Relation = new Telerik.Windows.Data.PropertyRelation("Addresses"); 
            radGridView1.TableDefinition.ChildTableDefinitions.Add(detailDefinition); 
 
            radGridView1.ItemsSource = servicesBindingList; 
        } 
 
        void browser_Updated2(Browser sender, OtogramBrowserEventArgs e) 
        { 
            switch (e.otogramBrowserEvent) 
            { 
                // note - it is possible to get an Updated* event 
                // before the Add event. 
                case OtogramService.Event.UpdatedAddress: 
                case OtogramService.Event.UpdatedTextRecord: 
                case OtogramService.Event.Add: 
                    { 
                        try 
                        { 
                            // if we have one just update it 
                            var z = (from p in servicesBindingList where p.Name == e.otogramService.Name select p).Single(); 
                            z = e.otogramService; 
                        } 
                        catch 
                        { 
 
                            // if we don't have one already - add a new one. 
                            servicesBindingList.Add(e.otogramService); 
                        } 
 
                    } 
                    break
 
                case OtogramService.Event.Remove: 
                    { 
                        // if we have one - remove it. 
                        var z = from p in servicesBindingList where p.Name == e.otogramService.Name select p; 
                        if (z.Count() != 0) 
                        { 
                            servicesBindingList.Remove(z.First()); 
                        } 
                    } 
                    break
            } 
        } 
 
        private delegate void UpdateBrowser(Browser sender, OtogramBrowserEventArgs e); 
 
        // required because WPF must execute one on one thread.  
        // This puts the callback into the WPF thread's dispatch queue. 
        void browser_Updated(Browser sender, OtogramBrowserEventArgs e) 
        { 
            UpdateBrowser func = browser_Updated2; 
            this.Dispatcher.BeginInvoke(func, new object[] { sender, e }); 
        } 
    } 
 

Rossen Hristov
Telerik team
 answered on 21 Sep 2009
2 answers
141 views

WPF version = .Net 3.5 SP1

OS = XP SP3

exact version of the Telerik product  = 2009 Q2 SP1 (2009.2.813.35)

 

Step by step instructions on how to reproduce erroneous behavior.
1. select cell in RadGridView and the row selector moves to that row and the row is highlighted.
2. edit cell
3. select a cell in a different row and the row selector doesn't move and neither row, previous nor current, are highlighted.
4. select a cell in a different row and the  row selector moves to that row and the row is highlighted.

It appears that if a cell is edited it prevents the current row to be set to the row of the next current cell.
For example:
1. Edit cell.
2. Select a cell in a different row.
3. Hit Up arrow on keyboard.
4. The selected row becomes the row above the row selected in step 1.

Eric Lincoln
Top achievements
Rank 1
 answered on 18 Sep 2009
2 answers
116 views
Hi to all,
i'm using RadDragAndDropManager to make possible to drag a TreeViewItem to a MindFusion Wpf Diagram...to make the game more complex we use the AvalonDock component to handle dock interface.
Actually all the staff work quite well but i have a problem about the DragDropEventArgs and the mouse position. i don't find a way to get the correct mouse coordinate when i drop the treeviewitem into the diagram. On many other event args as for example MouseButtonEventArgs i could get the correct position using the method: e.GetPosition(diagramInstance)...but i don't find a way to do it with the DragDropEventArgs.

Any advice?

Really thanks.
Diego




Diego
Top achievements
Rank 1
 answered on 18 Sep 2009
2 answers
60 views
Dear sirs,
I would like to ask, if possible, if you could explain in a very simple way how can I get my GridView to auto update when the SQL table it is associated to changes. I already read some of your examples on the DataViews, but I didn't get it.
Please have in mind I'm a novice programmer, so samples are welcome!
Best regards,
Bernardo Caldas
Bernardo
Top achievements
Rank 1
 answered on 18 Sep 2009
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
Slider
Expander
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
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?