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.
Syncfusion Feedback

Master-detail problem in datagrid

Thread ID:

Created:

Updated:

Platform:

Replies:

6282 Aug 7,2003 09:21 AM UTC Sep 16,2003 03:19 AM UTC Windows Forms 1
loading
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

Ashish
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.

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.

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

;