on 05-12-2006 1:51 AM
Hello,
I have multiple drop down by keys that are created dynamically. During run time I bind them into one context element that I staticly.
What happens is that when I change value in one of the drop down it changes in all of them. Is it because they are bound to the same context?
Thank you.
Hi Georgy,
Yes, you are right!! This is the correct reason for this behaviour. Since the statically created element is same for all the drop downs if the value of that particular element changes from one dropdown other values will be changed, since they are mapped to same element.
What you can do is, as you are creating a dynamic dropDown, at the same time create a dynamic element and bind that to this dropdown.
I hope this helps you.!!
Regards
Pravesh
PS: Please consider rewarding points if helpful or solved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Pravesh,
thanks for confirming my assumptions. Since I knew the answer and was just double checking it I awarded you two points.
and especially to this part of the posting:
please stop adding to each post a sentence like "Please award points for helpful answers" or the like.
Thank you.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.