I'm trying to write a workaround for the bug in your RadTabStrip control that prevents tabs from being hidden and displayed on demand.
So instead of building the tabstrip with some tabs hidden, I now add only the tab items I want displayed initially, then use javascript to add further tab items later.
Here's a snippet of the js code...
var
tabStrip = $find(
'myTabStrip'
);
var
tab =
new
Telerik.Web.UI.RadTab();
tab.set_text(
'text'
);
tab.set_value(
'pseudo-id_because_ID_field_is_weirdly_not_supported'
);
var
attributes = tab.get_attributes();
attributes.setAttribute(
"onclick"
,
"alert('hello')"
);
tabStrip.get_tabs().insert(1, tab);
this runs ok and adds a tab to the page, but the attribute is never set, and when I look at the page source it has never been rendered. The items rendered using server side code with the same settings work fine.
Is there something else I should be doing, or is this another bug?