The difference between the selected indexchanged and textchanged

Can someone explain me the difference between SelectedIndexChanged and TextChanged in a RadioButtonList ?

+4
source share
1 answer

In practical terms, nothing, because I'm not sure how you will raise one event without another.

However, SelectedIndexChanged is an event that should be used to determine when the user pointer was changed. The TextChanged event is provided for internal purposes, so other container controls (which may contain text fields, radio buttons, etc.) can test one event to determine if something has changed.

+1
source

Source: https://habr.com/ru/post/1306355/


All Articles