Select RadzenTab from code


is there meanwhile a possibility to select a certain tab from a method?

RadzenTabs tabs;
tabs.SelectedIndex = 1;

This should not work. Another attribute I didn't found yet.

Thanks and regards

You need to use the SelectedIndex property.

<RadzenTabs SelectedIndex=@selectedIndex />

@code {
    int selectedIndex; 

    void SelectFirstTab()
       selectedIndex = 0;

Hello korchev,

ah OK that's easy - thank's very much

Best regards