Click here to Skip to main content
15,895,667 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello ,
I have
1)test.aspx
2)A.ascx
3)B.ascx
4)C.ascx

when i run the test.aspx it open A.ascx because A.ascx i register in the test.aspx
now i have link in A.ascx.
Link B and Link c
when I click on the Link B the B.ascx should open and When I click on the Link C
then C.ascx sholud open.
how should i do that ???
from one ascx . redirect to next ascx.
is this possible?
should i used modelpopup for that.
plz tell me

Thanx In advance.
Posted
Updated 1-Dec-11 19:15pm
v2
Comments
[no name] 2-Dec-11 1:16am    
EDIT: added "code" block

The behavior you are looking for is of Asp.net wizard control.

You can refer to the following articles:
ASP.NET 2.0 Wizard Control[^]

The ASP.NET 2.0 Wizard Control
[^]
 
Share this answer
 
Comments
[no name] 3-Dec-11 5:03am    
Plz Any one lnow that how should i do that?
its not helpful ..

i want
when any one click on the link the new .Ascx page should open

but it give error
my code is
code is test.aspx
C#
<![CDATA[<%@ Page Language="C#" MasterPageFile="~/default.master" AutoEventWireup="true" CodeFile="Test.aspx.cs"
    Inherits="Test" Title="Untitled Page" %>
<![CDATA[<%@ Register Src="ClientInformation/ClientInformation.ascx" TagName="Test" TagPrefix="uc1" %>
<![CDATA[<%@ Register Src="ClientInformation/ShiftToR-FIXEDPlan.ascx" TagName="FIXEDPlan" TagPrefix="uc2" %>
<![CDATA[<%@ Register Src="ClientInformation/ShiftToR-FLEXIPLAN.ascx" TagName="FLEXIPLAN" TagPrefix="uc3" %>
<asp:content id="Content1" contentplaceholderid="ContentPlaceHolder1" runat="Server">
    <div class="TabbedPanelsContentGroup">
        <div class="TabbedPanelsContent">
            <uc1:test id="uctrlClientInformation" enableviewstate="true"  runat="server"/>
        </div>
       <div class="TabbedPanelsContent">
            <uc2:fixedplan id="uctrlFIXEDPlan" enableviewstate="true"  runat="server" />
        </div>
          <div class="TabbedPanelsContent">
            <uc3:flexiplan id="uctrlFIXEIPlan" enableviewstate="true"  runat="server" />
        </div>
    </div>
ass="TabbedPanelsContent">
            <uc2:FIXEDPlan ID="uctrlFIXEDPlan" EnableViewState="true" runat="server" />
        </div>
          <div class="TabbedPanelsContent">
            <uc3:FLEXIPLAN ID="uctrlFIXEIPlan" EnableViewState="true" runat="server" />
        </div>--%>
    </div>
</asp:Content>
ass="TabbedPanelsContent">
            <uc2:FIXEDPlan ID="uctrlFIXEDPlan" EnableViewState="true" runat="server" />
        </div>
          <div class="TabbedPanelsContent">
            <uc3:FLEXIPLAN ID="uctrlFIXEIPlan" EnableViewState="true" runat="server" />
        </div>--%>
    </div>
</asp:Content>





code in A.ascx


C#
a href="~/Test.aspx?page=ClientInformation/B" target="_blank">Shift

a href="~/Test.aspx?page=ClientInformation/c" target="_blank">FLEXI Plan





and when i click on Shift then it should redirect to b.ascx
but it not happen!
what should i do for that?
 
Share this answer
 
v3

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