我有 3 个 Telerik 标签:
<telerik:RadTabStrip ID="tabStrip" runat="server" MultiPageID="multiPage" SelectedIndex="0" ClickSelectedTab="true" OnTabClick="tabStrip_TabClick">
<Tabs>
<telerik:RadTab runat="server" Text="Pending Invoices" PageViewID="pendingInvoicesPageView">
</telerik:RadTab>
<telerik:RadTab runat="server" Text="Paid Invoices" PageViewID="paidInvoicesPageView">
</telerik:RadTab>
<telerik:RadTab runat="server" Text="My Payment Account" PageViewID="myPaymentAccountPageView">
</telerik:RadTab>
</Tabs>
</telerik:RadTabStrip>
具有 3 页视图:
<telerik:RadMultiPage ID="multiPage" runat="server"
<telerik:RadPageView ID="PageView1" runat="server">
</telerik:RadPageView>
<telerik:RadPageView ID="PageView2" runat="server">
</telerik:RadPageView>
<telerik:RadPageView ID="PageView3" runat="server">
</telerik:RadPageView>
</telerik:RadMultiPage>
现在,在我添加以下代码后,PageView1 的内容显示在 PageView2 和 PageView3 中:
<telerik:RadAjaxManager ID="radAjaxManager" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="tabStrip">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="tabStrip" />
<telerik:AjaxUpdatedControl ControlID="multiPage" />
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="multiPage">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="tabStrip" />
<telerik:AjaxUpdatedControl ControlID="multiPage" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
请给我一个建议,我迷失在这个 Telerik 控制中。蒂亚!
以下是 RadPageView 的一些内容:
<wac:WebDialogControl Id="WebDialogControl1" Runat="server" Label="" LabelVAlign="top">
<asp:DataGrid Id="paidInvoiceGrid" Runat="server" >
<Columns>
<asp:BoundColumn DataField="Id" Visible="False" />
<asp:BoundColumn DataField="PaymentDate" HeaderText="Date" />
<asp:ButtonColumn DataTextField="InvoiceId" HeaderText="Invoice #" />
<asp:BoundColumn DataField="Name" HeaderText="Services For" />
<asp:BoundColumn DataField="PaymentAmount" HeaderText="Amount" />
<asp:BoundColumn DataField="PaidInFullDescription" HeaderText="Payment(s)" />
</Columns>
</asp:DataGrid>
</wac:WebDialogControl>