5 Answers, 1 is accepted
Thank you for pointing this issue. I confirm that it is a bug, which we were able to fix. For your convenience I have attached latest internal build which includes the fixes.
I have updated your Telerik points.
Sincerely yours,
Georgi Krustev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Telerik Components for ASP.NET MVC(4/16/2010 - 4/30/2010)
What's fixed
- FIX: Initially disabled items, does not render href attribute of the link and the LOD does not work.
- FIX: IsAuthorized method was not called if a custom attribute implements IAuthorizeAttribute.
DatePicker
What's fixed
- FIX: DatePicker does not accept string.Empty as parameter in Value method.
Grid
What's fixed
- FIX: Cannot clear initial filters in server binding mode
- FIX: Server filtering breaks after applying a filter which contains aposthophe
NumericInput
What's fixed
- FIX: When input was empty the change event was not triggered.
Regards,
Georgi Krustev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Here is my code:
<%
var disableTab = ViewData["disableTab"] ?? false;
var routeValues = new {someId = Model.Id};
Html.Telerik().TabStrip()
.Name(
"MyTabStrip")
.Items(items =>
{
items.Add().Text("Tab 1")
.LoadContentFrom(Url.Action("ShowPartialView1", routeValues));.
items.Add().Text("Tab 2")
.LoadContentFrom(Url.Action("ShowPartialView2", routeValues));
items.Add().Text("Tab 3")
.LoadContentFrom(Url.Action("ShowPartialView3", routeValues));
items.Add().Text("Tab 4")
.LoadContentFrom(Url.Action("ShowPartialView4", routeValues));
items.Add().Text("Tab 5").Enabled(!(bool)disableTab)
.LoadContentFrom(Url.Action("ShowPartialView5", routeValues));
items.Add().Text("Tab 6").Enabled(!(bool)disableTab)
.LoadContentFrom(Url.Action("ShowPartialView6", routeValues));
})
.SelectedIndex(0)
.Render();
%>
Tab 5 and 6 are disabled properly when I set the ViewData["disableTab"] to be true. However, when I click on either one of the disabled tabs, the LoadContentFrom() still executes the action inside it, e.g. ShowPartialView5; and displays the content of the user control without style.
Thanks,
Sammy
Thank you for letting us know, the attached JavaScript file should solve the problem. The fix will be included in upcoming builds.
Best wishes,
Alex Gyoshev
the Telerik team