on 11-21-2008 7:32 AM
Hi,
first i describe you my scenario.
Actually i am using checkboxgroup and bind it to my context node attribute which is of type text .every thing is working fine ,but a basic requirement that still not fulfill .
I want that intially when my application launch the first checkboxgroup element looks checked and remaining unchecked.
But problem that i am facing is initially when application launched all checkboxgroup element unchecked.
so my qestion is
is it possible to make first element checked on first launch
Regards,
Sudhanshu
Thanks a lot...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
for example you have node like
City_Node
-> City Name
(Example values in node : Bangalore, Hyderabad,Pune,..)
This node you mapped with Checkboxgroup right?.
You need select some of cites by default check on application load right.
If i am not wrong this below code will help you.
write this code to select(checked) onload.
wdContext.nodeCitys_Node().setSelected(1, true);
result Hyderabad checked on load of application.
Regards,
Satya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.