I have a page with a Tabs control on it. The SelectedIndex property is bound to a page property named "TabIndex". In the "Load" event of the page I previously set the TabIndex to a value depending on the status of the current dataset. This has worked fine but since the last update of Radzen, it stopped working.
Settings the SelectedIndex of the Tabs control in the Load event via a bound page propery does not work any more.
thanks a lot. I tried your code but this also does not work. The selected tab cannot be changed programtically any more (and this was working with the previous version of Radzen IDE).
I used server side rendering for my tabs and also tried client side rendering as you stated in your sample but this also has no effect.
I suspect a bug here.
@enchev : Have there been any recent changes to the tabs control that could have caused this?
Ok, I finally got it working: The problem was that the "Selected" property of the 1st tab was set to "True" (this happend in the designer since setting the "Selected" property is the only way to select a different tab at design time!).
If the "Selected" property of one of the tabs is set to true, the "SelectedIndex" property of the Tabs control does not work when used with bindings.
So, if you bind to the "SelectedIndex", always make sure that none the "Selected" properties of the actual tabs is set to true.