Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Created Unassigned: TabContainer inside SelectedItemTemplate in ListView [27811]

$
0
0
Hi. I moved to ACT 15 and Found this Issue: When Click "Select" other record in Listview items I get Error.
My Page:
```
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default2.aspx.vb" Inherits="Default2" EnableViewState="true" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<div>
<asp:ListView ID="ListView1" runat="server" DataSourceID="LinqDataSource1" DataKeyNames="id_Annual">
<EditItemTemplate>
<td runat="server" style="">Version_EN:
</td>
</EditItemTemplate>
<EmptyDataTemplate>
</EmptyDataTemplate>
<EmptyItemTemplate>
</EmptyItemTemplate>
<InsertItemTemplate>
</InsertItemTemplate>
<ItemTemplate>
<td runat="server" style="">Elemento:
<asp:Label Text='<%# Eval("Version_EN")%>' runat="server" ID="id_AnnualLabel1" /><br />
<br />
Version_EN:
<br />
<asp:Button runat="server" CommandName="Select" Text="Select" ID="SelectButton" /><br />
</td>
</ItemTemplate>
<LayoutTemplate>
<table runat="server">
<tr runat="server">
<td runat="server" id="itemPlaceholder"></td>

</tr>
</table>
</LayoutTemplate>
<SelectedItemTemplate>
<td runat="server" style="">Seleccionado:
<asp:Label Text='<%# Eval("Version_EN")%>' runat="server" ID="id_AnnualLabel1" /><br />

<br />
<cc1:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="1">
<cc1:TabPanel HeaderText="uno" runat="server">
<ContentTemplate>a</ContentTemplate>
</cc1:TabPanel>
<cc1:TabPanel HeaderText="dos" runat="server">
<ContentTemplate>2</ContentTemplate>
</cc1:TabPanel>
<cc1:TabPanel HeaderText="tres" runat="server">
<ContentTemplate>3</ContentTemplate>
</cc1:TabPanel>
</cc1:TabContainer>
</td>
<td></td>
</SelectedItemTemplate>
</asp:ListView>
<asp:LinqDataSource runat="server" EntityTypeName="" ID="LinqDataSource1" ContextTypeName="DatosDataContext" EnableDelete="True" EnableInsert="True" EnableUpdate="True" TableName="Annuals"></asp:LinqDataSource>
</div>
</form>
</body>
</html>

```
Error points to:
```
removeHandlers: function(element, events) {
// Removes a set of event handlers from an element
// This is NOT the same as $clearHandlers which removes all delegates from a DomElement. This rather removes select delegates
// from a specified element and has a matching signature as $addHandlers
// "element" - the element to modify
// "events" - the template object that contains event names and delegates

for (var name in events) {
$removeHandler(element, name, events[name]);
}
},
```
in Scripts/WebForms/MsAjax/MicrosoftAjax.js

Can you help me?

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>