2
I have a method in Asp.net who carries some dropdowns
receiving as parameter the name of the dropdown
. The method is working perfectly, because when I "debug" the application I see that the dropdown
received the items. The problem is that when I put the call on Page_Load
of the application more than once:
CarregarCombos(ddlX);
CarregarCombos(ddlY);
It is being loaded on the screen only the first, but debugging the two are with values.
In short: Via codebehind everything is perfect, but on screen the dropdown
does not receive the values.
This happens also when I try to do:
ddlX.Enabled = true;
ddlY.Enabled = true;
Only the first is enabled.
I would like to know why and the solution to this problem.
What is the code within the Load method?
– johhny
@Fernandopazoti posts the rest of the code
– Tuyoshi Vinicius
Thank you for your attention, but I ended up solving the problem. Panel was disabled and not working, but when I enabled it, it worked.
– Fernando Pazoti