Telerik Forums
UI for WPF Forum
5 answers
309 views
Hi,

I have two set of objects, that are related in the following way:

public class MyObject1 
   private MyObject2 _o2 = new MyObject2() { Address = "CR" }; 
   public MyObject2 O2 
   { 
            get 
            { 
                return _o2; 
            } 
            set 
            { 
                _o2 = value; 
            } 
        } 
 
        public string Name 
        { 
            get
            set
        } 
    } 
 
    public class MyObject2 
    { 
        public string Address 
        { 
            get
            set
        } 
    } 
 


And I am binding the following set of properties on the grid:

<telerik:RadGridView Name="radGridView1" ItemsSource="{Binding}" AutoGenerateColumns="False"
            <telerik:RadGridView.Columns> 
                <telerik:GridViewDataColumn UniqueName="Name" IsGroupable="True" IsReadOnly="False" IsFilterable="True" HeaderText="Name" DataMemberBinding="{Binding Name}" /> 
                <telerik:GridViewDataColumn UniqueName="Address" IsGroupable="True" IsReadOnly="False" IsFilterable="True" DataMemberBinding="{Binding O2.Address}" HeaderText="Address" /> 
            </telerik:RadGridView.Columns> 
        </telerik:RadGridView> 

But after doing this binding the column binded to O2.Addres can´t be modified, grouped, filter. So I will like to know if this can be performed in some way.

Thanks







Celso
Top achievements
Rank 1
 answered on 06 Mar 2009
3 answers
139 views
My GridView's ItemsSource is set to {Binding}, which binds to it's parent's DataContext.  I also have a couple comboboxes and some checkboxes that are bound to properties on the items in this DataContext.

When I make changes in the comboboxes and checkboxes, the changes are reflected on the previously selected item in the GridView rather than the currently selected item.  Why would this happen?
Pavel Pavlov
Telerik team
 answered on 05 Mar 2009
1 answer
159 views
Hi!
Send me, please, same sample for GridView Theme creating(source code, xaml)  and refrence of tutorial.
Best regards.( bssoft@mail.ru).
Hristo Deshev
Telerik team
 answered on 05 Mar 2009
5 answers
314 views
Hello,

We are creating an application where we want to show the Images on the TreeView based in various combinations of conditions.

Depending upon the types of the Nodes we have to attach different context menus to the tree nodes.Here we are using a Class which implements the IPropertyChanged, the properties such as AbstractionType and ObjectType decides what images has to be loaded in the TreeView.

Images are loaded based on various conditions such as the Abstraction Type and the ObjectType.

Copy paste functionality on tree View--- If we select a node say device node in the context menu we will see copy and when paste is clicked the copy of the Node is addedon the same node as that of the node copied.


We are using a class to populate the tree and the Images will get populated based on two properties, say AbstractionType and objectType. Also in some cases we wish to show multiple images in the treeview.

It is quiet urgent ansd any code will be vary helpfull.
Looking forward for your support.

Thanks and regards
Bobi
Telerik team
 answered on 05 Mar 2009
2 answers
94 views
Hi,
I have used code given in telerik demo for First Look. When I run this application I could see two images(Arrows) on left upper corner.
What are they for? How can we remove it? or how can we use it in our application?

Regards
Vandana
Vandana
Top achievements
Rank 1
 answered on 05 Mar 2009
1 answer
243 views
i am using the default start and end date pickers provided in AppointmentDialogWindow but i added an extra code to check when user chooses end date that occurs before start date and in this case i return the selected date to the old value but when i open the calender i find that the wrong values are still marked  , so how can i remove focus or unselect them ??
Teodor
Telerik team
 answered on 04 Mar 2009
2 answers
233 views
Several of our grids are behaving like this.  They have worked for months and while recently making a change to some of the columns, data no longer appears (column names are visible, and the columns are drawn, but the data inside is missing).   If I click on a column to sort, the data appears.  So it's like the screen is not initially being painted and an event like column sorting triggers a repaint. 

These grids are in a rad tab control and when I click on another tab and then click back, the data disappears as well.  The issue might actually be with the tab control.

Any idea what is going on and how to fix?
Hristo Deshev
Telerik team
 answered on 04 Mar 2009
1 answer
152 views
Hi,
I would like to add event to every point (DataPoint) on chart's line in "2D Chart Spline". So when I will click on it, it  will display simple tooltip with value.

How can I do this?

Bests Regards,
Jacek Ciereszko
Vladimir Milev
Telerik team
 answered on 04 Mar 2009
1 answer
102 views
Hi,
the GridView is acting strange when it is inside a scrollviewer.
It shows only one row at a time regardless the height of the control.

Thanks,
Tal
Rosi
Telerik team
 answered on 02 Mar 2009
1 answer
168 views
We would like to use the standard delete key on the keyboard to delete rows from the GridView instead of the adding a delete button to each row in the grid as in the examples provided.  This should be fairly easy to accomplish.  However, I do not see any events that fire when a cell or row edit begins and ends.  This is needed to prevent the keydown event from deleting a row when the delete key is pressed while editing a row.  Can you let me know if there are any events that will tell us if the grid is in edit mode?

Thanks,

Doug
Rosi
Telerik team
 answered on 02 Mar 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
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
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?