Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Need help on asp:View with UpdatePanel

$
0
0

My code as following,

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="test_multiView.aspx.cs" Inherits="Modules_test_multiView" %><!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>Test Multi View</title></head><body><form id="form1" runat="server"><asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager><div><asp:MultiView ID="MultiView1" runat="server"><asp:View ID="tab01" runat="server"><asp:UpdatePanel ID="UpdatePanel1" runat="server"><ContentTemplate><asp:Button ID="Button1" runat="server" Text="Button Tab 01" /></ContentTemplate></asp:UpdatePanel></asp:View><asp:View ID="tab02" runat="server"><asp:UpdatePanel ID="UpdatePanel2" runat="server"><ContentTemplate><asp:Button ID="Button2" runat="server" Text="Button Tab 02" /></ContentTemplate></asp:UpdatePanel></asp:View></asp:MultiView></div></form></body></html>

How to make sure,

1- Button Tab 01 Clicked, it will only update UpdatePanel1

2- Button Tab 02 Clicked, it will only update UpdatePanel2

Please tell me, what code I need to added?


Viewing all articles
Browse latest Browse all 5678

Trending Articles



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