I have a radiobutton list that has a SelectedIndexChanged attached to it. So a user changes the radiobutton and
SelectedIndexChanged is triggere.
Let's say I manually change the radiobutton list value in page_load, what would I need to do so that it automatically fires SelectedIndexChanged?
Basically emulate the user functionality, but from codebehind.
Currently, the eventhandler is not triggered when I change the value from codebehind.
vmhatup
Member
292 Points
516 Posts
Dynamically changing control value and triggering eventhandler?
May 03, 2012 02:18 PM|LINK
I have a radiobutton list that has a SelectedIndexChanged attached to it. So a user changes the radiobutton and SelectedIndexChanged is triggere.
Let's say I manually change the radiobutton list value in page_load, what would I need to do so that it automatically fires SelectedIndexChanged? Basically emulate the user functionality, but from codebehind.
Currently, the eventhandler is not triggered when I change the value from codebehind.
Thanks.