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,
This is duplicate post. For more information according to this issue, please follow the link : http://forums.infragistics.com/forums/t/57653.aspx.
Sincerely,
Georgi Sashev
Developer Support Engineer
Infragistics, Inc.
http://es.infragistics.com/support
Georgi:
Could you take some time and investigate this a little more how to fire up selectionindex changed event for an array of dropdownlists that are created at runtime ????Thanks.
I checked the build number , and mine is 2020.
Can you convert this into VB.net. I am not a C# guy.
Thanks
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.
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.
Hello issdrpy,
If you still have any questions, please do not hesitate to ask, I will be glad to help.
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.
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