I have an asp panel, that contains a toolbar and that toolbar contains a radbutton.
When the page loads, all is good. I call a toolbar init on the client and an "onGridcreated" and I check if a row is selected in the grid. If not, disable the button. That works as expected.
After I select a row, a rowclick event fires, the button is enabled. That works as expected.
If I click the button, which opens a radwindow, and do some editing to the data and save it and close my window, the ajax refreshes my main page. During this, the toolbar init and onGridCreated are called. It checks to see if a row is selected, there's not. The code finds my button and calls set_enabled(false).
The button is then greyed out but I can still click it and it pops open a window. Im expecting it to not be clickable. Why would it fire events if it's not enabled?