This is what it should look when the page first loads
It is important that the user IS allowed to add without any limit. The page has the first group in design when first loaded.
How to create them in codes and assign each of these dropdowns to selectedindex changed event since they have to be tracked hierarchically whenever the selected data is changed.
Thanks.
Hello,
The issue happens becuase in the sample the first WebDropDown is bound on on every post back.
The second and third WebDropDowns are bound only on ItemsRequested and that's why the issue does not appear with them.
Please let me know if you feel that I haven't answered your question
Thank you very much. I was out of the office last week. I just run your code pages and the first dropdownlist loses value after I have added 3 groups of them.
Hello issdrpy,
If you still have any questions, please do not hesitate to ask, I will be glad to help.
Sincerely,
Georgi Sashev
Developer Support Engineer
Infragistics, Inc.
http://ko.infragistics.com/support
In my sample in the ViewState I save the count of the CascadeDropDown controls created and recreate them. In order to save the states of them you need to save them in the ViewState. This behavior is due to this.
Let me know if you need further clarification with this matter.
Georgi:
Thank you very much for your quick response.
I got your codes to work today and it seems that we had some similar issues.I could create the controls but when the page is posted back for cetain times, the selected value for wdd1 may bot gone.