Click here to Skip to main content
13,088,439 members (57,147 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I have four .asp forms and i want to show all form one by one in iframe on next button click

please help me to do this
Posted 8-May-13 0:52am
Hi Susheel can you please explain your need as I am understanding your need is to create a screen like wizard. If I am right please tell me so that I can help you....
Susheel Kumar Verma 8-May-13 7:14am
hi satyendra my senario is i want to open a popup window using jquery ifram and i have four .asp forms for some validation step i am storing all forms in array and i hava a while loop until my button flag is next the next form should come and at last finish button clicked then popup should close
plz help..

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1


You can use Multiview like tihs:-
<asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0">
        <asp:View ID="View1" runat="server">
            <asp:Button ID="btnView1" runat="server" Text="Next" onclick="btnView1_Click" />
        <asp:View ID="View2" runat="server">
            <asp:Button ID="btnView2" runat="server" Text="Next" onclick="btnView1_Click" />
        <asp:View ID="View3" runat="server">
            <asp:Button ID="btnView3" runat="server" Text="Next" />

And in code behind please write like this:-

protected void btnView1_Click(object sender, EventArgs e)
            MultiView1.ActiveViewIndex += 1;

Please modify it according to your need and handle all cases so that it will not generate errors.


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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.170813.1 | Last Updated 8 May 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100