Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
181
Re-Databind cannot works with object collections (with subcollections)
posted

 I used a UltrawebGrid with List(of ) and works fine if the collection cannot contains subcollections inside.

 

The firts time, the grid  paint the rows and the childs rows very well, but is you remove a item of the collection and call a databing, the grid raise a exception.

 

To make the grid refresh after delete event I used this code..

 

                    Me.UltraWebGrid1.DataSource = Nothing
                    Me.UltraWebGrid1.DataBind()
                    Me.UltraWebGrid1.DataSource = Session("InvoiceData")
                    Me.UltraWebGrid1.DataBind()     'this line raise a exception...

 

I have a full sample with the demo.  You can see two webforms,  when works and when didn´t works..

http://groups.google.co.cr/group/netdevdemos/web/InfragisticsCollections.zip

 

Thanks.

 

 

 

 

 

 

 

 

Parents
  • 45049
    posted

    What version of the NetAdvantage for .NET toolset are you using?  Are you using the latest hot fix?

    If the issue isn't already resolved in the latest hot fix, then this may take more in-depth research.  You already have a sample that reproduces this issue, so I suggest you submit a support request and attach your sample.  A Developer Support Engineer will research this issue using your sample and will work with you to resolve it.

Reply Children