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://ko.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.
Thank you very much, Georgi. I just got the files downloaded. Thanks.
Did you have a chance to try if this works for you? If you have any questions with this matter do not hesitate to ask.
Thank you very much for your support. I was pulled away to another project.
I loaded the files in Visual Studio and got the following error: cannot load the file or aseembly.... web.config line 14
Please help me clear this error.
See the attached screenshot.
Hi,
Can you specify which build of our controls are you using? Probably this issue is due to the difference in the build of our controls I used in my sample and the one you have. To solve it change the version of the assembly to match yours. For example:
Open the web.config file
<add assembly="Infragistics4.Web.v11.1, Version=11.1.20111.1006, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/>
V11.1 shows which is the release and Version = 11.1.20111.1006 specifies the build. Probably you need to change only the last four digits.
Also note that you need to have our controls added in the GAC or in the bin folder.
I am waiting for your response.
I checked the build number , and mine is 2020.
Can you convert this into VB.net. I am not a C# guy.
Thanks
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.
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.
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.