I am developing a WinForms application using C # with the following code:
((CheckBox)page.Controls[check_box_name]).CheckState = CheckState.Checked;
The code didn't work, so I tried refreshing the page.
page.Refresh();
It didn’t help, and I don’t know why. Can someone enlighten me?
source
share