Jun 06, 2013, 8:32 AM
Well there is a problem with mechanism of closing sessions. We created it to open new nhibernate session on begin of request and close it on end request. (beetwen opened and closed session is the same for all objects we use). when I load combobox with a query there is a multithread and session is closing in time when for e.g. last loading is in progress. Rebuilding this mechanism is not an option in my case.
Have any other ideas what can cause this?
combo.GetStore().Data = new object[]{Id=1,Name="name"};
This not working with my custom Combobox with sample it's working just fine. I'm sure of that Data is loaded only once at OnPrerender event.Have any other ideas what can cause this?