Solved

Multiview but add steps numbers

Posted on 2010-08-20
4
379 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

679 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