DataBinding Object and v2.1 update

DataBinding Object and v2.1 update

Old forum URL: forums.lhotka.net/forums/t/974.aspx


mtamarit posted on Tuesday, August 22, 2006

When I upgrade my project to 2.1 CSLA version , the UI project don't let me edit the forms that have a DataBindingSource object referenced from the Bussines layer.

I have DataBindingSource objects linked to datagrids in the UI but the designer throws me an error when I open the from in design time.

I use this method because i want to edit and reorder the columns in the grid.

Someone has any idea.

I'm a bit lost.

thanks in advance.

RockfordLhotka replied on Tuesday, August 22, 2006

Windows or Web? Oh, and VB or C#?

mtamarit replied on Tuesday, August 22, 2006

The error ocurrs using windows forms and the vb version.

I drag the databinding object over the datagrid for creating the datasource. This link was created when the project reference the CSLA 2.0.3 version.

After I change the reference in the bussiness layer to the CSLA VB 2.1 version. And then the error happens.

The designer can't show me the form in design time. The error tell me that can't find the databindingsource object.

 

 

david.wendelken replied on Tuesday, August 22, 2006

This is my guess:

You may have to recompile the csla project and then (maybe also) update its reference in your own project libraries.

Recompile those libraries and (maybe also) update the references to them.

Also, exiting and re-entering vs studio between steps may make a difference.

 

mtamarit replied on Wednesday, August 23, 2006

Thanks David. Your solution was great. I recompile all the projects in order and now the designer let me edit the forms correctly.

Thanks for all.

Copyright (c) Marimer LLC