This question is locked. New answers and comments are not allowed.
Hello, i have noticed that tab#4 does not change/switch in Firefox 3.6. It works in IE8. All other tabs work
i am clicking on tab4 and get no error and no switching.
I have included the code for telerik js files that master page generates, aspx and user control.
in addition: is there a way to change id of the individual tabstrip item. (example: instead of saying http://url/#tabstrip-4 i would like to see http://url/#t4
Thank you in advance for your help.
Details:
Tab#4 view
i am clicking on tab4 and get no error and no switching.
I have included the code for telerik js files that master page generates, aspx and user control.
in addition: is there a way to change id of the individual tabstrip item. (example: instead of saying http://url/#tabstrip-4 i would like to see http://url/#t4
Thank you in advance for your help.
Details:
Tab#4 view
Master page generates: <script type="text/javascript" src="/Scripts/2011.1.315/jquery-1.5.1.min.js"></script><script type="text/javascript" src="/Scripts/2011.1.315/telerik.common.min.js"></script><script type="text/javascript" src="/Scripts/2011.1.315/telerik.menu.min.js"></script><script type="text/javascript" src="/Scripts/2011.1.315/telerik.tabstrip.min.js"></script><script type="text/javascript" src="/Scripts/2011.1.315/telerik.list.min.js"></script><script type="text/javascript" src="/Scripts/2011.1.315/telerik.combobox.min.js"></script><script type="text/javascript" src="/Scripts/2011.1.315/telerik.draganddrop.min.js"></script><script type="text/javascript" src="/Scripts/2011.1.315/telerik.window.min.js"></script><script type="text/javascript" src="/Scripts/2011.1.315/telerik.editor.min.js"></script><script type="text/javascript" src="/Scripts/2011.1.315/telerik.upload.min.js"></script><script type="text/javascript" src="/Scripts/2011.1.315/telerik.imagebrowser.min.js"></script>-------START ASPX that using Tab4 User Control-------------------------------------------------<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %><asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server"> Edit</asp:Content><asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server"><h2>Edit</h2><script src="<%: Url.Content("~/Scripts/jquery.validate.min.js") %>" type="text/javascript"></script><script src="<%: Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js") %>" type="text/javascript"></script><% using (Html.BeginForm()) { %> <%: Html.ValidationSummary(true) %> <% Html.Telerik().TabStrip() .Name("TabStrip") .ClientEvents(events => { events.OnSelect("Select"); }) .Items(parent => { parent.Add() .Text("Tab1") .Content(() => { Html.RenderPartial("Tab1"); }) .Selected(true); parent.Add() .Text("Tab2") .Content(() => { Html.RenderPartial("Tab2"); }); parent.Add() .Text("Tab3") .Content(() => { Html.RenderPartial("Tab3"); }); parent.Add() .Text("Tab4") .Content(() => { Html.RenderPartial("Tab4"); }); }) .Render(); %> <% } %> </asp:Content>-------END ASPX--------------------------------------------------------START Tab4 User Control-------------------------------------------------<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %><script type="text/javascript"> function Select(e) { if (e.item.textContent == "Preview") { // debugger; var editorBody = $('#body').data('tEditor'); var editorSummary = $('#summary').data('tEditor'); //alert("Summary:" + editorSummary.value()); //alert("Body:" + editorSummary.value()); preview.innerHTML = "Summary:" + editorSummary.value() + "<br/>" + "Body:" + editorBody.value() } }</script><div id="preview"></div>-------END Tab4 User Control-------------------------------------------------