Skip to Content
author's profile photo Former Member
Former Member

Radio Button in Webdynpro

How do we handle radio button in Webdynpro?

Please help.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 08, 2007 at 11:55 AM

    Hi Supriya,

    I can't get you what do you mean by handling radiobutton.

    But these are the 3 preperties maily used in case of radiobutton.

    KeyToSelect: Unique key which which this radio button will be identified while selection from a number of radiobutton.s

    SelectedKey: This property is set to the key of the radiobutton that is currently selected.

    OnSelect: An event that you want to fire when the radio button is selected.

    Assume you have 2 radio button RB1 and RB2

    <b>Properties of RB1</b>

    KeyToSelect: Key_1

    SelectedKey: context attribute (Ctx_SelectedKey) type String

    OnSelect: Action1

    <b>Properties of RB2</b>

    KeyToSelect: Key_2

    SelectedKey: context attribute (Ctx_SelectedKey) type String

    OnSelect: Action2

    Note: selectedKey is binded to the same context as you want to consider them as a single group.

    If you want to set that RB1 should be selected by default when the application is executed.

    you can write this in wdDoInit()

    wdContext.currentContextElement().setCtx_SelectedKey("Key_1");

    Hope this was the thing you were looking for.

    Regards,

    Murtuza

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 08, 2007 at 11:54 AM
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.