on 08-10-2006 4:40 PM
Hi all,
Please help me to resolve this.
I have 4 Radio buttons, in a scenario i want to disable only 2 radio buttons.
I used RadioButtonGroupByIndex for creating radio buttons.
The following code i am using for binding the values.
for (int cnt = 0; cnt < 2; cnt++)
{
IPrivateInputModuleView.IKnowledgeElement kRatingText = wdContext.createKnowledgeElement();
kRatingText.setKnowledgeRating((String)objVector.get(cnt));
knowledgeRatingList.add(kRatingText);
}
wdContext.nodeKnowledge().bind(knowledgeRatingList);
wdContext.nodeKnowledge().setLeadSelection(0);
Thanks in advance
Rajakumar.K
This is not possible if you use RadioButtonGroupByIndex, only with separate radio buttons.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Create an attribute of type boolean in the node which you used for the radiobutton, and set this attribute to false according to which radiobuttons should make disable while creating the element for the node
Regards,
Saravanan K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The radio button's "enabled " property can be bound to a boolean a value attribute. Switch the attribute values as true or false and then it should work.
Regards,
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.