?
Solved

How to programmatically add data to a winforms hierarchical Infragistics UltraWinGrid

Posted on 2013-01-24
1
Medium Priority
?
2,189 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 2000 total points
ID: 38817963
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

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…
The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

770 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