Infragistics ultrawebgrid errors

Source: Internet
Author: User
System. nullreferenceexception: object reference is not set to the instance of the object.

Source error:

Row 220: Object key = E. cell. row. datakey; row 221: infragistics. webui. ultrawebgrid. ultraman dband band = E. cell. band; row 222: String basetable = E. cell. band. basetablename; row 223: Table = Ds. tables [basetable]; row 224:

It's just such a mistake that bothers me more than a day, and it's really annoying. With the infragistics control, I felt too guilty. I felt that I was not familiar with the content, and I did not know where the problem was. I was always afraid of making mistakes. As soon as you see the problem, sometimes it's too big to know what the problem is. Is the sample code from copy?CodeI did not write it by myself. I will be careful later.
My practice is to have two tables in a dataset: Parent and Child. I think there are any special requirements for binding. In fact, there are no special requirements, just like the DataGrid. The error occurs because I bound the data source twice. The band cannot be found. J. After commenting it out, there will be no problem. Such a problem is really unpleasant.

here, let's talk about how to install and use the infragistics control. After the installation, the first thing to do is to add it to vs. Add a new tab page in toolbox and name it netadvantage6.2. Right-click and select "add item" and select the corresponding control. Add a reference to infragistics. webui. shared.6.2 to your project, select it, and set local replication to true in its properties. Then add the DLL of the control you want to use to the reference. Otherwise, the DLL will be used for the control. When adding a control to a page, you must first add a prefix reference and then add the control. Otherwise, it cannot be displayed. Please be careful when using these precautions.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.