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
Solved

How to programmatically add data to a winforms hierarchical Infragistics UltraWinGrid

Posted on 2013-01-24
1
2,034 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
1 Comment
 
LVL 18

Accepted Solution

by:
DarrenD earned 500 total points
ID: 38817963
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Modal Popup Extender control 1 37
Sort GridView by ID Descending 1 17
JSON  parse help 7 40
Retrieve Active Directory Groups a User belongs to in VB.NET 3 18
Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

839 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