PDA

View Full Version : Bi-directional data binding issues



PiRX
06-21-2006, 11:45 AM
I'm currently working on project, that involves moving data between pages by using some object.
By now with help of this forum i have solved some issues with Spring.net data binding and mostly it works well.
However I have problems with data binding (maybe I just miss some point) - I use bi-directional binding and for some bindings data from object is put into controls, but some are put from controls (empty values) into object.

By now i get object from session on Page_PreInit, bind them on InitializeDataBindings, and put object back into session on onClick handlers for buttons.

What i'm doing wrong?

p.s. this is my first experience with spring.net framework

Erich Eichinger
06-29-2006, 09:55 PM
There seem to be some issues regarding DataBinding using NET2.0. I will investigate this as soon as possible.

Any code, that helps me reproducing this would be very helpful!

br,
Erich

PiRX
07-10-2006, 08:21 AM
well, it looks like i tried to find problem in wrong place.

In my case problems where because some controls was "read-only" (but changed by some javascript), and binded fields for those controls weren't updated.