on 05-23-2007 7:56 AM
Hi,
I m using a drop down by key which gets its values from the database. Now if I want to set it to a particular value, can I do this? Like on selecting a row of a table the drop down shud display the value which corresponds to the entry in tha table.
thanx
malita
Hi,
If you can get the key of an item in the dropdown while you select the row of the table,using that key you can set the value in the drop down as follows
wdContext.current<DDBK node>Element().set<Context attribute mapped to selectedKey property of DDBK>(<Key value to be displayed>);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks 4 the help........
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
U can poplate the dropdown by keeping the values,Descrition in the Simpletype.
Dictionaries->Simple type.
1.Cretae one atribut in the view context and select the type as simpletype.
2.Occarding to selected dropdown u can populate the values in the table.
Let me knw if u hav any doubts,
Regards,
Lavanya.g
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.