Solved

Multiview but add steps numbers

Posted on 2010-08-20
4
374 Views
Last Modified: 2012-05-10
I followed this example
http://www.beansoftware.com/ASP.NET-Tutorials/MultiView-Control.aspx

My multiview works fine but my manager wants me to add "step 1 of x" to it. For example, step 1 of 10. Not sure where that fits in...
0
Comment
Question by:Camillia
  • 2
4 Comments
 
LVL 28

Accepted Solution

by:
sammySeltzer earned 250 total points
ID: 33485660
If it was me, I would do it manually.

For instance, we added Page1, Page2, Page3...up to page 5 to our own use of multiview simply because we know there are 5 total pages.
0
 
LVL 22

Assisted Solution

by:Mrunal
Mrunal earned 250 total points
ID: 33485888
0
 
LVL 7

Author Comment

by:Camillia
ID: 33485960
i have the activeviewindex , below. But i just need to display "step 1 of x".

Let me look at your links
protected void btnBack_Click(object sender, EventArgs e)
    {
        mvApplication.ActiveViewIndex--;
    }

    protected void btnNext_Click(object sender, EventArgs e)
    {
        mvApplication.ActiveViewIndex++;
    }

Open in new window

0
 
LVL 7

Author Comment

by:Camillia
ID: 33486048
Yeah, not sure how to display the index on the page. For example, this is my multiview below.
I first display the first view. The active index = 0. So, when page load, i should get the ActiveViewIndex??

<asp:MultiView runat="server"  ID="mvApplication" ActiveViewIndex="0">
             
      <asp:View runat="server" ID="vPersonalInfo">
         <asp:Label runat="server" Text="Step" />
     </asp:View>

     <asp:View runat="server" Id="vEducation">
      <asp:Label runat="server" Text="Step" />
     </asp:view>

</Multiview>

     
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question