on 04-07-2009 12:35 PM
Hi,
I have a radio button group by index where i have two elements in that. One of it is coming checked by default. How can i make both unchecked initially.
Thanks.
Hi jyoti..
if you are setting the value as dynamically in your Radiobuttongroupbyindex ...then you should set
initializeLeadSelection property of context value node as false....then it will not selected by default
Thanks
sudhir
Edited by: sudhir kumar on Apr 7, 2009 2:01 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Armin,
If i use the below code as suggested,
wdContext.nodexxx().setLeadSelection(IWDNode.NO_SELECTION(-1)); its showing error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jyothi
You can go with Radio Button Group By Key and Bind with the selected key with the Cntext Attribute of data type Simple Type in Dictionary .Create a Simple type in dictionary and give the enumeration values
as per your requirements.Create a context Attr of this typa and bind this.
Hope you got the answer.
Regards
Kalyan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
By setting the lead-selection of the context node to IWDNode.NO_SELECTION (-1). But in a radio button group, usually there is always one element selected.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.