Print Page | Close Window

Problem with radio buttons

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce Classic
Forum Discription: For .NET 2.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=1273
Printed Date: 27-Apr-2025 at 5:01pm


Topic: Problem with radio buttons
Posted By: BillG
Subject: Problem with radio buttons
Date Posted: 21-May-2009 at 9:02am
I have 3 group boxes on a form.
 
BuildingInfoGroupBox
AssociationGroupBox
TypeGroupBox
 
Here is the code in my FormLoad()

ViewDescriptor buildingInfoViewDescriptor = new ViewDescriptor(EntityPropertyDescriptors.EmployerChangeRecord.BuildingInfo);

EmployerChangeFormCBM.Descriptors.AddGroup(BuildingInfoGroupBox, buildingInfoViewDescriptor);

ViewDescriptor associationViewDescriptor = new ViewDescriptor(EntityPropertyDescriptors.EmployerChangeRecord.Association);

EmployerChangeFormCBM.Descriptors.AddGroup(AssociationGroupBox, associationViewDescriptor);

ViewDescriptor typeViewDescriptor = new ViewDescriptor(EntityPropertyDescriptors.EmployerChangeRecord.Type);

EmployerChangeFormCBM.Descriptors.AddGroup(TypeGroupBox, typeViewDescriptor);

When I click on a button in one group the clicked button in another group goes away.  What am I doing wrong?
 



Replies:
Posted By: BillG
Date Posted: 03-Jun-2009 at 8:21am
Found the problem, several of the radio buttons were missing tag values.



Print Page | Close Window