Click here to Skip to main content
15,914,500 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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).


XML
<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>
Posted
Comments
nandakishoreroyal 5-Mar-14 4:39am    
Its impossible, you need to place save functionality which is there in that particular page(i.e WorkForce.aspx). in the present page. better to use common class and use it in two pages.

1 solution

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. :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900