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

RadioButtonGroupByKey UI component

Hi,

i wunder is someone of you have use the RadioButtonGroupByKey component before. How can one assign values to it? There is no "texts" properity like the RadioButtonGroupByIndex component.

regards,

Peter Ha

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 06, 2005 at 07:39 AM

    Hi ,

    Simple way is to create a simple type ,specify enumeration values for it.. Map it to a context attribute.Map this attribute to the selected key property.

    If u want to do it without enumeration ...

    Create a string attribute ..say DdkData

    ISimpleTypeModifiable stm = wdThis.wdGetAPI().getContext().getModifiableTypeOf("DdkData");

    IModifiableSimpleValueSet svs = stm.getSVServices().getModifiableSimpleValueSet();

    svs.put(data,""+data);

    Regards

    Bharathwaj

    Message was edited by: Bharathwaj R

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 06, 2005 at 07:40 AM

    Property name is "selectedKey"

    Regards, Anilkumar

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 06, 2005 at 07:45 AM

    Hi,

    1. Create a SimpleType and in the enumeration enter some values.

    2. Create ContextAttribute of the above simpleType.

    3. Assign this ContextAttrib to the DropDownByKey "SelectedKey" property.

    Regards, Anilkumar

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 06, 2005 at 07:45 AM

    hi,

    Are u using enumeration or simple value services .

    Regards

    Bharathwaj

    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.