on 02-04-2008 5:24 AM
Hi all,
I need to implement 2 stand alone Radio buttons (not groupbykey or groupbyindex). I could add the same in my view layout, but I am not sure how to use the KeyToSelect and SelectedKey options. How do I control when the button is selected/deselected and how do I obtain this information from my context?
Thanks in advance guys!
-Shalini.
Hi Alex..
Thanks so much for the reply. Your answer helped me set up the buttons, and the examples in WDR_TEST_EVENTS were also helpful.
Just one thing.. how do I specify which of the radio buttons are to be selected by default. Also, right now, both the radio buttons are selected. How do I turn this off?
- Shalini.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alex.. thanks, its worked!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi shalini....
create two attributes of type string for the two rado buttons and give two different default values for that. say a and b...
bind the attribute to the property selected key...
give the default value as the key to select in the property....
or you can bind the same attribute to both the buttons and read the attribute to check which value has been selected...
you can also go through wdr_test_events component.
---regards,
alex b justin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
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.