The TabContainer in the following code does NOT refresh my page. Can anybody tell me what's wrong, please?
[My web page works just fine when the TabContainer is removed from the code]
<%
@dotnet.itags.org.PageLanguage="VB"AutoEventWireup="true" %><%
@dotnet.itags.org.ImportNamespace="System.Data" %><%
@dotnet.itags.org.ImportNamespace="System.Data.SqlClient" %><%
@dotnet.itags.org.RegisterAssembly="AjaxControlToolkit, Version=1.0.10123.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e"Namespace="AjaxControlToolkit"TagPrefix="cc1" %><!
DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.1//EN""http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><
scriptrunat="server">
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs)
TextBox2.text = TextBox1.Text
End Sub
</
script><
htmlxmlns="http://www.w3.org/1999/xhtml"><
headrunat="server"><title>Untitled Page</title></
head><
body><formid="form1"runat="server"><asp:ScriptManagerID="ScriptManager1"runat="server"/><div> </div><asp:UpdatePanelID="UpdatePanel1"runat="server"><ContentTemplate><cc1:TabContainerOnUnload="Button1_Click"ID="ManageVendorsTabContainer"runat="server"Style="position: absolute;left: 249px; top: 110px;">
<cc1:TabPanelID="TabPanelCreateVendorID"runat="server"><HeaderTemplate>Create Vendor
</HeaderTemplate><ContentTemplate> <asp:TextBoxID="TextBox1"runat="server"></asp:TextBox><asp:TextBoxID="TextBox2"runat="server"></asp:TextBox><asp:ButtonID="Button1"OnClick="Button1_Click"runat="server"Text="Button"/></ContentTemplate></cc1:TabPanel></cc1:TabContainer></ContentTemplate></asp:UpdatePanel></form></
body></
html>Hi,
I tried you code, it works as expected.
Or can you be specific about the issue with you.
No comments:
Post a Comment