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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Master-detail problem in datagrid

Thread ID:





6282 Aug 7,2003 09:21 AM UTC Sep 16,2003 03:19 AM UTC WinForms 1
Tags: FAQ
Administrator [Syncfusion]
Asked On August 7, 2003 09:21 AM UTC

I have a dataset that is the datasource of a datagrid. The dataset has two related datatables. The problem is that even if the detail-table doesn´t have any related records I still get a relationlink in the datagrid. When I click the link one record is shown with the id that is used for the relation and null in the rest of the detail-columns. Obviously I only want the relationslink to be clickable if there is corresponding records. How do I solve this??? Thanks! /Therese

Replied On September 16, 2003 03:19 AM UTC

During Runtime(ie. In navigation event)check the datamember property of the grid and make the grid or the gridstryle readonly.


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

Live Chat Icon For mobile
Live Chat Icon