Solved

How to programmatically add data to a winforms hierarchical Infragistics UltraWinGrid

Posted on 2013-01-24
1
2,124 Views
Last Modified: 2013-03-04
I am able to add a record to the top band using

grid.DisplayLayout.Bands[0].AddNew();But when I create this record, I need to also add some child records at band 1. How do I do that? I am getting an error:

Unable to add a row:Row insertion not suported by this datasource.

This is my code:

 grid.DataSource = this.ultraDataSource2;
 this.ultraDataSource2.Band.AllowAdd = Infragistics.Win.DefaultableBoolean.True;What setting has to be changed to allow addition of child records also when a parent record is added?
0
Comment
Question by:rishaan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 18

Accepted Solution

by:
DarrenD earned 500 total points
ID: 38817963
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question