on 01-29-2008 6:02 AM
Hi all,
i got a problem when i am using checkbox group.i have created checkbox group and i have bound a attribute to that group. that attribute is type of symple tye. i got problem when i want to retrive the data from the checkbox group . how i can get the data from the check box group which check box was checked. please reply
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use the following
for (int x=0; x< wdContext.nodeTest().size(); x++)
{
if( wdContext.nodeTest().isMultiSelected(x) )
// Selected Element
IWDNodeElement nodeElement = wdContext.nodeTest().getElementAt(x);
nodeElement.setAttributeValue("<Your Attribute> ", <Value>);
//Ex setting value for attribute called Name
nodeElement.setAttributeValue("Name", "Test");
}
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.