更新时间:2023-01-08 13:33:25
你听说过AJAX帖子和g等方法???
试试看看这里
或者你可以使用
.ajax并在另一页上调用静态web方法。
这个概念请看看这里。
希望它会对你有所帮助。 :)
Hi,
I have Ajax tab is there. I just call the page name. see in below code. now tabing is happening. my requirement is while clicking on button(Save&ProceedToNextPage), it should work save functionality and redirect to next page. my problem is, i m calling page name into Ajax Tab,How to call save functionality which is there in that particular page(i.e WorkForce.aspx).
<div>
<Ajx:ToolkitScriptManager runat="Server" EnablePartialRendering="true" ID="ScriptManager1" />
<Ajx:TabContainer runat="server" ID="Tabs" Visible="true" CssClass="Tab">
<Ajx:TabPanel runat="server" ID="Panel1" TabIndex="0" HeaderText="Workforce" Width="50px">
<ContentTemplate>
<iframe id="Iframe1" src="WorkForce.aspx" runat="server" width="100%" height="450px">
</iframe>
</ContentTemplate>
</Ajx:TabPanel>
<Ajx:TabPanel runat="server" ID="Panel3" HeaderText="ThirdPartyWorkForce">
<ContentTemplate>
<iframe id="Iframe2" src="ThirdPartyWorkForce.aspx" runat="server" width="100%" height="650px">
</iframe>
</ContentTemplate>
</Ajx:TabPanel>
</Ajx:TabContainer>
<asp:Button ID="Button1" CssClass="Button" Width="150px" runat="server" Text="ProceedToNextPage" onclick="ProceedToNextPage_Click" />
</div>
Have you heard of AJAX post and get methods???
Try have a look HERE
or you can use
.ajax and can call a static webmethod on the other page.
for this concept please have a look HERE.
Hope it will help you. :)