Rolodex Rank Display Issue

Rolodex Rank Display Issue

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


FoodmanCyclingPA posted on Thursday, December 24, 2009

Hi Everyone,

First of all, Happy Holidays to everyone out there.  I am running the Rolodex example under Csla 3.8.2b and am having an issue with the Ranks displaying on the ComboBox control.  Initially, when I edit a company, the CompanyEdit form comes up and the ComboBoxes with ranks are blank.  However, if I select the Add button, a new row is created, but the ComboBoxes are still blank.  THEN, if I select Cancel, the row dissapears and the Ranks are displayed on the ComboBoxes.

Also, when I first come to the CompanyEdit form and then press the Cancel button, the Ranks appear on the ComboBoxes.

Why are they not displaying initially?  Any ideas anyone.  I had been working on my application for a while and that same thing was happening, then I ran the Rolodex and the same thing happened, so I know I was NOT loosing my mind.  Any ideas on how to get them to display initially would be much appreciated as I am tearing out what hair I have trying to figure this out.

Take care,
Keith aka CyclingFoodmanPA

 

 

FoodmanCyclingPA replied on Thursday, December 24, 2009

Ok, I got my program fixed.  I used the ComboBox that Rocky created that inherited from the base class ComboBox.

I am thinking I should just use that ComboBox all the time.

Keith

FoodmanCyclingPA replied on Thursday, December 24, 2009

Hmmm, the only problem with this solution is that when you do an add, the SetSelectionFromValue routine chokes in the ComboBox routine!  So, I am still working on it, but any ideas are more than welcome on how to solve this issue.

Keith

Copyright (c) Marimer LLC