Solved

Multiview but add steps numbers

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Gridview User Control event not firing 4 45
What is MicroStrategy.NET? 2 45
crm development 2 37
Calling stored proc in EDMX 11 19
I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

706 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now