I have an asp:radiobuttonlist that serves two purposes depending on which button is pushed. Now if I have my update button visible, then it will only show textbox1, and if I have my save button visible, it will show textbox2. However, when checking within the method of the indexChanged, it discards the fact that the button is visible and sets the buttons to their default visibility. How would I capture the information in C# on whether a certain button is visible or not before that information is discarded in a postback?
I have an asp:radiobuttonlist that serves two purposes depending on which button is pushed.
Share
If the buttons are static buttons on the page(not dynamically generated by code), then their state should stay the same unless other code is changing their visibility.
Can you post your “Page_Load” method’s code?