Author: kbainey1 | Posted on: 10/9/2009 3:33:37 PM | Views : 241

There is a dropdownlistbox filled with three items: Cash, Interac, and CreditCard

Right now the CreditCard selection is grayed out, which is fine. I want to validate it so that if a new tender is added in the future the CreditCard value will always be grayed out and not just the last row in the list box. believe that there is some looping to do. Thank you
 
private void LoadDropDowns() { ServicesProxy.AdminProxy adminManager = new ServicesProxy.AdminProxy(WindowsWorkspaceShared.customPrincipal.UserInfo.UserName, WindowsWorkspaceShared.customPrincipal.UserInfo.Password); _tenderTypeCashCode = adminManager.GetCodeByCodeCharCodeType(CodeConstants.TransactionTenderType_Cash, CodeValues.TransactionTenderType); _tenderTypeInteracCode = adminManager.GetCodeByCodeCharCodeType(CodeConstants.TransactionTenderType_Interac, CodeValues.TransactionTenderType); ...

Go to the complete details ...