Jul 26, 2011, 9:20 AM
[CLOSED] TabStripItem duplicated when added using .AddItem
Hi, when adding a tabstripitem using .AddItem, the tabstripitem in duplicated. This does not occur when using .Items.Add
I've only tested this bug in the latest release.
See repro code below:
I've only tested this bug in the latest release.
See repro code below:
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="TabDuplication.aspx.vb" Inherits="LargeDropdownTest.TabDuplication" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script runat="server">
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim TabStripItem As New Ext.Net.TabStripItem With {.Title = "Test"}
TabStrip.AddItem(TabStripItem)
End Sub
</script>
</head>
<body>
<form id="form1" runat="server">
<ext:ResourceManager ID="rm" runat="server" />
<ext:Panel ID="pnlCentre" runat="server" Layout="Card" Header="false">
<TopBar>
<ext:Toolbar ID="Toolbar" runat="server">
<Items>
<ext:TabStrip ID="TabStrip" runat="server">
<Items>
</Items>
</ext:TabStrip>
</Items>
</ext:Toolbar>
</TopBar>
<Items>
</Items>
</ext:Panel>
</form>
</body>
</html>
Last edited by Daniil; Aug 08, 2011 at 10:16 AM.
Reason: [CLOSED]