We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

GridDataControl MappingName binding

Thread ID:

Created:

Updated:

Platform:

Replies:

92724 Feb 1,2010 04:45 PM Feb 4,2010 03:47 AM ASP.NET Web Forms (Classic) 1
loading
Tags: GridGroupingControl
Francois Madore
Asked On February 1, 2010 04:45 PM

I'd like to do bind let's say the Customer object (I'm in WPF, 3.5, last syncfusion version, just bought it)



I think it's impossible to access a property that access another and so on like "Address.City". So, what I see is that I have to make a CellTemplate, put a TextBox like that:







Is there a shorter way cause all my grids are binded on View Model objects that contains their DTO (WCF DataContracts - client side generated objects) So I quite often have to access MyViewModelInstance.InnerDTO.Name.

Thanks!

Dhinesh Pandiyan M [Syncfusion]
Replied On February 4, 2010 03:47 AM

Hi Francois,

Thanks for using Syncfusion products.

This feature - Complex Property Binding is available in latest version Essential Studio 8.1. We can achieve this using the below code.



We have a sample in our Dashboard from the below location.

\\WPF\Grid.WPF\Samples\3.5\WindowsSamples\Grid Data Control - Advanced\Complex Property Binding Demo

Please let us know if you have any other questions.

With Regards,
Dhinesh Pandiyan

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;