Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought

Welcome, Guest. Please login or register.
December 15, 2017, 06:39:13 PM
Home Help Search Login Register
News: Please DM @puremvc on Twitter to gain forum access. Spambots are why we can't have nice things.
Pages: [1]
Author Topic: combo, databinding, lazy load  (Read 4276 times)
Posts: 2

View Profile Email
« on: October 05, 2010, 07:00:07 PM »

Is it posted before?
            comboBox1.ValueMember = "baId";
            comboBox1.DisplayMember = "baName";
            comboBox1.DataSource = list;   //<--list of au
            comboBox1.DataBindings.Add("SelectedItem", au, "baAddress");
this line cause a no session exception. I think it is affected by first 2 lines. Bindings codes need to access related attributes on au instead of the one in the list. Though this access seems not necessary with the 'list' already set.

The baAddress is an attribute on au with lazy load, itself is a class.

Equals(object obj) on class of baAddress, is overrided for  binding the same obj.

Remove lazy load could be a choice. What other ideas?
« Last Edit: October 10, 2010, 05:36:25 PM by MAXOUT » Logged
Pages: [1]
Jump to: