Dynamically added event selectedindexchanged to radiobuttonlist(dynamically generated) may not execute all the time when navigating between the radio button

Cindy See 206 Reputation points
2022-10-19T11:05:12.6+00:00

Dynamically added event selectedindexchanged to radiobuttonlist(dynamically generated) may not execute all the time when navigating between the radio button. It will execute once if the radio button is not clicked before.
Please advise.

Developer technologies | ASP.NET | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Cindy See 206 Reputation points
    2022-10-21T00:43:36.83+00:00

    Hi everyone,
    I found a workaround.
    I will retrieve the datatable and assign to the radiobuttonlist web control but not dynamically create the webcontrol on the page load function. Tested and working fine now.
    Thank you.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.