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.

Master-detail problem in datagrid

Thread ID:

Created:

Updated:

Platform:

Replies:

6282 Aug 7,2003 05:21 AM Sep 15,2003 11:19 PM Windows Forms 1
loading
Tags: FAQ
Administrator [Syncfusion]
Asked On August 7, 2003 05:21 AM

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 15, 2003 11:19 PM

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.

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.

;