[CLOSED] [2.2+] Combobox load single record to the store before trigger

Page 2 of 2 FirstFirst 12
  1. #11
    Quote Originally Posted by Daniil View Post
    Sorry, I didn't understand why you can use this approach. Please elaborate.
    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.

    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?
  2. #12
    Quote Originally Posted by ViDom View Post
    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?
    It is hard to say something without a test case.
Page 2 of 2 FirstFirst 12

Similar Threads

  1. [CLOSED] Load combobox's store
    By romeu in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jan 11, 2013, 1:50 PM
  2. Replies: 7
    Last Post: Dec 18, 2012, 6:58 PM
  3. Replies: 2
    Last Post: Nov 17, 2012, 3:20 AM
  4. Problem with load record into ComboBox
    By JosefTrbusek in forum 2.x Help
    Replies: 3
    Last Post: Sep 09, 2012, 7:02 AM
  5. How to load pages in same tab with single iframe
    By NishaLijo in forum 1.x Help
    Replies: 0
    Last Post: Aug 19, 2010, 10:39 AM

Tags for this Thread

Posting Permissions