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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Accessing a different cell''s data from a cell

Thread ID:





91629 Nov 25,2009 08:05 PM UTC Nov 27,2009 06:32 AM UTC ASP.NET Web Forms (Classic) 1
Tags: Tools
Russell Judge
Asked On November 25, 2009 08:05 PM UTC

I'm using the GridDataControl in XAML. This is bound to a dataset.

I want to bind a control in a cell so that the visibility is dependent on the value of another cell (or column from the datatable) in the same row. The value of that control is bound to its own CellBoundValue, which is different than what the visibility attribute will need bound to.

How do I do this?

As a simplified example:

GridDataControl is bound to SampleDataTable, which has columns SampleColumn1 and SampleColumn2. The first GridDataVisibleColumn of the GridDataControl is Mapped to SampleColumn1, while the second GridDataVisibleColumn is mapped to SampleColumn2. I want the Visibility of a control I'm dumping in the second GridDataVisibleColumn to map to SampleColumn1 (or to the value from the first GridDataVisibleColumn, whichever works better).

Thank you.

Ganesan K [Syncfusion]
Replied On November 27, 2009 06:32 AM UTC

Hi Russell,

Thanks for using Syncfusion products.

You could bind to other columns as "{Binding Path=Record.Data.SampleColumn2}" in our latest build

For our previous build you use like this "{Binding Path=Record.SampleColumn2}".

Download the workaround sample in the following location.


Please check with this and let me know if this helps you out.



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon